View source: R/8_tcga_group_trans_exp.R
trans_exp_new | R Documentation |
transform rownames of expression set from "ensembl" to"symbol",according to the new information from ensembl database.
trans_exp_new(exp, mrna_only = FALSE, lncrna_only = FALSE, species = "human")
exp |
expression set with ensembl as rownames |
mrna_only |
only keep mrna rows in result |
lncrna_only |
only keep lncrna rows in result |
species |
choose human or mouse, or rat, default: human |
a transformed expression set with symbol
Xiaojie Sun
trans_exp
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))
if(requireNamespace("AnnoProbe")){
k = trans_exp_new(exp)
}else{
warning("Package \"AnnoProbe\" needed for this function to work.
Please install it by install.packages('AnnoProbe')")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.