Learn R Programming

tinyarray (version 3.0.0)

sam_filter: sam_filter

Description

drop duplicated samples from the same patients

Usage

sam_filter(exp)

Value

a transformed expression set without duplicated samples

Arguments

exp

TCGA or TCGA+GTEx expression matrix from GDC or Xena

Author

Xiaojie Sun

See Also

make_tcga_group;match_exp_cl

Examples

Run this code
exp_hub1[1:4,1:4]
dim(exp_hub1)
exp2 = sam_filter(exp_hub1)
dim(exp2)
g = make_tcga_group(exp_hub1);table(g)
table(!duplicated(substr(colnames(exp_hub1[,g=="tumor"]),1,12)))

Run the code above in your browser using DataLab