sam_filter {tinyarray} | R Documentation |
sam_filter
Description
drop duplicated samples from the same patients
Usage
sam_filter(exp)
Arguments
exp |
TCGA or TCGA_Gtex expression set from gdc or xena |
Value
a transformed expression set without duplicated samples
Author(s)
Xiaojie Sun
See Also
Examples
cod[1:4,1:4]
dim(cod)
cod2 = sam_filter(cod)
dim(cod2)
g = make_tcga_group(cod);table(g)
library(stringr)
table(!duplicated(str_sub(colnames(cod[,g=="tumor"]),1,12)))
[Package tinyarray version 2.4.2 Index]