transMut: Transform the input data to simSig input data

Description Usage Arguments Value Examples

Description

Transform the input data to simSig input data

Usage

1
transMut(tmMut, bsg = NULL)

Arguments

tmMut

Location of the mutation file that is to be converted or name of data frame in environment. Use data(sample.mut.ref) to see the example data.

bsg

Location of the mutation file that is to be converted or name of data frame in environment. The default value is BSgenome.Hsapiens.UCSC.hg19, and Only set if another genome build is required. Must be a BSgenome object.

Value

A data frame that contains sample IDs for the rows and trinucleotide contexts for the columns. Each entry is the count of how many times a mutation with that trinucleotide context is seen in the sample.

Examples

1
testTrans = transMut(tmMut = sample.mut.ref)

13thirteen-w/Rpackage_cpSig documentation built on May 8, 2019, 1:42 p.m.