View source: R/shuffleMutations.R
A function to bootstrap the mutation table
1 2 | createShuffleTable(dataTable, chromHeader, positionHeader, refHeader,
altHeader, contextHeader, sampleIdHeader)
|
dataTable |
A table with the reference, alternative and surrounding
nucleotides. The best data to use is the output of the
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.