match_exp_cl {tinyarray} | R Documentation |
match_exp_cl
Description
match exp and clinical data from TCGA
Usage
match_exp_cl(exp, cl, id_column = "id", sample_centric = TRUE)
Arguments
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. |
Value
a transformed clinical data.frame with sample ids.
Author(s)
Xiaojie Sun
See Also
Examples
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]]
[Package tinyarray version 2.4.2 Index]