MutaliskSigNamesToIndices: MutaliskSigNamesToIndices

View source: R/firevat_mutalisk.R

MutaliskSigNamesToIndicesR Documentation

MutaliskSigNamesToIndices

Description

Converts target.mut.sigs to an integer vector corresponding to the indices in df.ref.mut.sigs

Usage

MutaliskSigNamesToIndices(df.ref.mut.sigs, target.mut.sigs)

Arguments

df.ref.mut.sigs

A data.frame of reference mutational signatures

target.mut.sigs

A character vector of target mutational signatures names

Value

An integer vector of target mutational signatures indices (the first target mutational signature (e.g. 'SBS1') gets assigned a value of 1)


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