check_gene_name_match {ssdGSA}R Documentation

Function to Check if Gene IDs in the Input Gene Data Match Well

Description

This function is to check if the gene IDs in the gene sets, data matrix and direction matrix match well.

Usage

check_gene_name_match(
  genes_in_Gene_sets,
  genes_in_Data,
  genes_in_Direction_matrix
)

Arguments

genes_in_Gene_sets

A list of gene names from the gene sets.

genes_in_Data

A list of gene names from the data matrix.

genes_in_Direction_matrix

A list of gene names from the direction matrix.

Details

Before single sample directional gene set analysis, it is necessary to check whether the gene ID types in the gene sets, data matrix and direction matrix have the same gene ID type. If not, the ssdGSA and ssdGSA_individual would stop, and users should double check to make gene ID types in different parts match one another.

Value

If there are more than 10\ the single sample directional gene set analysis would stop.


[Package ssdGSA version 0.1.1 Index]