MutPatParseRefMutSigs: MutPatParseRefMutSigs

View source: R/firevat_mutational_patterns.R

MutPatParseRefMutSigsR Documentation

MutPatParseRefMutSigs

Description

Parses a df.ref.mut.sigs and prepares it to run Mutational Patterns.

Usage

MutPatParseRefMutSigs(
  df.ref.mut.sigs,
  target.mut.sigs,
  signature.start.column.index = 4,
  mutation.type.header = "SomaticMutationType"
)

Arguments

df.ref.mut.sigs

A data.frame of reference mutational signatures

target.mut.sigs

A character vector of target mutational signatures names

signature.start.column.index

= An integer value (e.g. column index corresponding to 'SBS1')

mutation.type.header

= A string value (name of header corresponding to column containing 'A[C>A]A' data))

Value

A data.frame of the format deconstructSigs::signatures.cosmic


cgab-ncc/FIREVAT documentation built on Nov. 19, 2022, 5:55 p.m.