subset_bagel_by_counts: Creates a new bagel subsetted to only samples with enough...

Description Usage Arguments Value Examples

View source: R/main_class.R

Description

Creates a new bagel subsetted to only samples with enough variants

Usage

1
subset_bagel_by_counts(bay, table_name, num_counts)

Arguments

bay

Input bagel

table_name

Name of table used for subsetting

num_counts

Minimum sum count value to drop samples

Value

Returns a new bagel object with sample annotations, count tables, and variants subsetted to only contains samples with the specified minimum number of counts (column sums) in the specified table

Examples

1
2
bay <- readRDS(system.file("testdata", "bagel_sbs96.rds", package = "BAGEL"))
subset_bagel_by_counts(bay, "SBS96", 20)

campbio/BAGEL documentation built on Oct. 6, 2020, 3:59 a.m.