compare_cosmic_v3: Compare a result object to COSMIC V3 Signatures; Select exome...

Description Usage Arguments Value Examples

View source: R/discovery_prediction.R

Description

Compare a result object to COSMIC V3 Signatures; Select exome or genome for SBS and only genome for DBS or Indel classes

Usage

1
2
3
4
5
6
7
compare_cosmic_v3(
  result,
  variant_class,
  sample_type,
  threshold = 0.9,
  result_name = deparse(substitute(result))
)

Arguments

result

Result to compare

variant_class

Compare to SBS, DBS, or Indel

sample_type

exome (SBS only) or genome

threshold

threshold for similarity

result_name

title for plot user result signatures

Value

Returns the comparisons

Examples

1
2
res <- readRDS(system.file("testdata", "res.rds", package = "BAGEL"))
compare_cosmic_v3(res, "SBS", "genome", threshold = 0.8)

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