createShuffleTable: createShuffleTable

Description Usage Arguments

View source: R/shuffleMutations.R

Description

A function to bootstrap the mutation table

Usage

1
2
createShuffleTable(dataTable, chromHeader, positionHeader, refHeader,
  altHeader, contextHeader, sampleIdHeader)

Arguments

dataTable

A table with the reference, alternative and surrounding nucleotides. The best data to use is the output of the identifyClusters where is.clustered is TRUE.

chromHeader

A string with the name of the column with the chromosome name. (So the data in the column needs to be notated as e.g. "chr2")

positionHeader

A string with the name of the column with the position of the mutation. (The data in the column needs to be nummeric.)

refHeader

A string with the column header of the reference nucleotide.

altHeader

A string with the column header of the alternative nucleotide.

contextHeader

A string with the column header of the context nucleotides.

sampleIdHeader

A string with the name of the column with the sample ID.


AlexJanse/cMut documentation built on May 25, 2019, 4 a.m.