trans_exp_new: trans_exp_new

View source: R/8_tcga_group_trans_exp.R

trans_exp_newR Documentation

trans_exp_new

Description

transform rownames of expression set from "ensembl" to"symbol",according to the new information from ensembl database.

Usage

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

Value

a transformed expression set with symbol

Author(s)

Xiaojie Sun

See Also

trans_exp

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')")
}

tinyarray documentation built on June 22, 2024, 9:58 a.m.