View source: R/8_tcga_group_trans_exp.R
| trans_exp | R Documentation |
Transform rownames of an expression matrix from Ensembl IDs to gene symbols.
trans_exp(exp, mrna_only = FALSE, lncrna_only = FALSE, gtex = FALSE)
exp |
expression matrix with Ensembl IDs as rownames |
mrna_only |
only keep mrna rows in result |
lncrna_only |
only keep lncrna rows in result |
gtex |
logical, whether to include GTEx data |
a transformed expression set with symbol
Xiaojie Sun
trans_array
exp = matrix(rnorm(1000),ncol = 10)
rownames(exp) = sample(mRNA_anno$gene_id,100)
colnames(exp) = paste0("sample",1:10)
k = trans_exp(exp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.