get_gene_symbol: Internal - get gene symbol from Panglao.db matrix.

Description Usage Arguments Details Value Examples

View source: R/get_gene_symbol.R

Description

Internal – removes Ensembl signature appended to signature matrix from Panglao and figure out species by pre-fix Ensembl of the Ensembl ID that is appended to gene names.

Usage

1
get_gene_symbol(wilcoxon_rank_mat_t)

Arguments

wilcoxon_rank_mat_t

Matrix where row names are "GeneSymbol-Ensembl" (human or mouse).

Details

Internal: This function removes the ENGMUS/ENGS tag from Panglao created gene names (symbol-ENGS). From the ENSG/ENSMUS, this function determines if the species is mouse/human and returns the gene symbols.

Value

List with the following elements:

rowname

Genes in the signature matrix excluding the ensemble name.

species

"mouse" or "human" depending on appended ensembl symbols.

Examples

1
2
3
4
 # load signature
data(POA_example) 
POA_OR_signature <- POA_example$POA_OR_signature
symbols <- get_gene_symbol(POA_OR_signature)

DustinSokolowski/scMappR documentation built on July 7, 2020, 5:44 p.m.