View source: R/identifyClusters.R
Creates the table with extra annotation about the present clusters
1 2 | createIdentTable(dataTable, maxDistance, chromHeader, sampleIdHeader,
positionHeader, refHeader, altHeader, contextHeader)
|
dataTable |
A data.frame or tibble that contains at least chromosome
name, sample ID and position information. The data cannot contain any NA.
For an example use |
maxDistance |
A number with the maximum distance between DNA mutations that are defined as being in a cluster. |
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") |
sampleIdHeader |
A string with the name of the column with the sample ID. |
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 |
Contains the name of the column with the reference nucleotides. |
altHeader |
Contains the name of the column with the alternative nucleotides. |
contextHeader |
A string with the name of the column with the context.
The data inside this column is e.g. "C.G" hereby stands the "." for the
location of the mutation. What symbol is used to describe this location is
arbitrary but be sure to adjust the |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.