Description Usage Arguments Value
A function that is able to search for clusters in DNA mutation table (as explained by argument dataTable) in a single chromosome for a single sample.
1 2 | getClusterId(dataTable, maxDistance, chromHeader = "Chr",
sampleIdHeader = "sampleID", positionHeader = "Pos")
|
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.) |
A atomic character vector; contains per index the chromosome nr, sample name and any cluster ID's. For example: Chr1 testSample 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.