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")
Arguments
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
Returns
a transformed expression set with symbol
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))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')")}