subset_reference_signatures: Automatic subsetting of reference mutation signatures

Description Usage Arguments Value

View source: R/subset_reference_signatures.R

Description

Subsets mutation signatures based on which ones are present in a somatic mutation catalog

Usage

1
2
3
4
5
6
subset_reference_signatures(
  catalog,
  reference_signatures,
  threshold = NULL,
  n_cores = 1
)

Arguments

catalog

Mutation catalog. A data-frame or tibble with columns named mutation_type and count.

reference_signatures

Reference mutation signatures, formatted as in those obtained by get_reference_signatures.

threshold

A numeric value specifying the minimum lower credible interval (at the 95 interval limit above this threshold will be included in the subset.

Value

A new reference signature dataframe with a subset of the initial signatures


eyzhao/SignIT documentation built on Dec. 6, 2019, 11:45 a.m.