View source: R/8_tcga_group_trans_exp.R
trans_array | R Documentation |
transform rownames for microarray or rnaseq expression matrix
trans_array(exp, ids, from = "probe_id", to = "symbol")
exp |
microarray expression matrix with probe_id as rownames |
ids |
data.frame with original rownames and new rownames |
from |
colname for original rownames |
to |
colname for new rownames |
a transformed expression set with new rownames
Xiaojie Sun
trans_exp
exp = matrix(1:50,nrow = 10)
rownames(exp) = paste0("g",1:10)
ids = data.frame(probe_id = paste0("g",1:10),
symbol = paste0("G",c(1:9,9)))
trans_array(exp,ids)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.