name_signatures: Return sample from bagel object

Description Usage Arguments Value Examples

View source: R/main_class.R

Description

Return sample from bagel object

Usage

1
name_signatures(result, name_vector)

Arguments

result

Result object containing signatures and weights

name_vector

Vector of user-defined signature names

Value

Result object with user-defined signatures names

Examples

1
2
result <- readRDS(system.file("testdata", "res.rds", package = "BAGEL"))
name_signatures(result, c("smoking", "apobec", "unknown"))

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