View source: R/groupClusters.R
A function to group the table by the cluster IDs and add annotation to it
1 2 | createGroupTable(table, clusterIdHeader, refHeader, altHeader,
contextHeader, mutationSymbol, showWarning)
|
table |
A table with columns containing cluster IDs, reference and
alternative nucleotide. See the output of the
|
clusterIdHeader |
Contains the name of the column with the cluster IDs. |
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 |
mutationSymbol |
A string with the symbol that stands for the mutated
nucleotide location in the |
showWarning |
A Boolean if there need to be a warning if nrow is 0. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.