View source: R/8_tcga_group_trans_exp.R
match_exp_cl | R Documentation |
match exp and clinical data from TCGA
match_exp_cl(exp, cl, id_column = "id", sample_centric = TRUE)
exp |
TCGA expression set |
cl |
TCGA clinical data.frame |
id_column |
which column contains patient ids, column number or colnmn name. |
sample_centric |
logical,deault T,keep all samples from the same patients.if FALSE,keep only one tumor sample for one patient. |
a transformed clinical data.frame with sample ids.
Xiaojie Sun
make_tcga_group
;sam_filter
a = match_exp_cl(exp_hub1,meta1[,2:4],"X_PATIENT")
exp_matched = a[[1]]
cl_matched = a[[2]]
b = match_exp_cl(exp_hub1,meta1[,2:4],"X_PATIENT",sample_centric = FALSE)
exp_matched = b[[1]]
cl_matched = b[[2]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.