subset_variants_by_samples: Return sample from bagel object

Description Usage Arguments Value Examples

View source: R/main_class.R

Description

Return sample from bagel object

Usage

1
subset_variants_by_samples(bay, sample_name)

Arguments

bay

Bagel object containing samples

sample_name

Sample name to subset by

Value

Returns sample dataframe subset to a single sample

Examples

1
2
bay <- readRDS(system.file("testdata", "bagel.rds", package = "BAGEL"))
subset_variants_by_samples(bay, "public_LUAD_TCGA-97-7938.vcf")

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