rm_unmatched_samples | R Documentation |
rm unmatched/singleton samples
rm_unmatched_samples(
object,
subgroupvar = "subgroup",
subgroupctr = slevels(object, subgroupvar)[1],
block,
verbose = TRUE
)
rm_singleton_samples(object, subgroupvar = "subgroup", verbose = TRUE)
object |
SummarizedExperiment |
subgroupvar |
subgroup variable (string) |
subgroupctr |
control subgroup (string) |
block |
block variable (string) |
verbose |
TRUE/FALSE |
SummarizedExperiment
file <- system.file('extdata/atkin.somascan.adat', package = 'autonomics')
object <- read_somascan(file)
object %<>% filter_samples(subgroup %in% c('t1', 't2'), verbose = TRUE)
rm_singleton_samples(object, subgroupvar = 'Subject')
rm_unmatched_samples(object, subgroupvar = 'subgroup', block = 'Subject')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.