sam_filter: sam_filter

View source: R/8_tcga_group_trans_exp.R

sam_filterR Documentation

sam_filter

Description

drop duplicated samples from the same patients

Usage

sam_filter(exp)

Arguments

exp

TCGA or TCGA+GTEx expression matrix from GDC or Xena

Value

a transformed expression set without duplicated samples

Author(s)

Xiaojie Sun

See Also

make_tcga_group;match_exp_cl

Examples

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)))

tinyarray documentation built on Aug. 2, 2026, 9:07 a.m.