trans_exp {tinyarray} | R Documentation |
trans_exp
Description
transform rownames of TCGA or TCGA_Gtex expression set from gdc or xena,from ensembl id to gene symbol
Usage
trans_exp(exp, mrna_only = FALSE, lncrna_only = FALSE, gtex = FALSE)
Arguments
exp |
TCGA or TCGA_Gtex expression set from gdc or xena |
mrna_only |
only keep mrna rows in result |
lncrna_only |
only keep lncrna rows in result |
gtex |
logical,whether including Gtex data |
Value
a transformed expression set with symbol
Author(s)
Xiaojie Sun
See Also
Examples
exp = matrix(rnorm(1000),ncol = 10)
rownames(exp) = sample(mRNA_annov23$gene_id,100)
colnames(exp) = c(paste0("TCGA",1:5),paste0("GTEX",1:5))
k = trans_exp(exp)
[Package tinyarray version 2.4.2 Index]