View source: R/identifyClusters.R
A function to add columns to the sent table with information
gathered from the linkPatterns
function.
1 2 3 4 5 | addLinkPatterns(table, refHeader, altHeader, contextHeader, mutationSymbol,
reverseComplement, searchPatterns, searchRefHeader, searchAltHeader,
searchContextHeader, searchIdHeader, searchReverseComplement,
searchMutationSymbol, checkHeader, searchDistanceHeader,
linkClustersOnly, renameReverse)
|
table |
table with the clusters information |
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 |
reverseComplement |
A Boolean to tell if the |
searchPatterns |
A tibble with the known mutation patterns. The
|
searchRefHeader |
A string with the column name of the one with the reference nucleotide in the searchPatterns table. |
searchAltHeader |
A string with the column name of the one with the alternative nucleotide in the searchPatterns table. |
searchContextHeader |
A string with the column name of the one with the context nucleotide in the searchPatterns table. |
searchIdHeader |
A string with the column name of the one with the pattern IDs. |
searchReverseComplement |
A boolean to also search the patterns in the reverse complement of the searchPatterns tibble. |
searchMutationSymbol |
A string with symbol that stands for the mutated
nucleotide location in the column of the |
checkHeader |
name of the Boolean check column |
searchDistanceHeader |
A string with the column name of the one with the maximum distance between clustered mutations. Not needed if the distance parameter is NULL. NA's within this column are allowed. |
linkClustersOnly |
A boolean to tell if only the clustered mutations are
needed to be linked with the patterns in the |
renameReverse |
A Boolean if the id of the process needs to be renamed.
This has the effect on the cMut functions that it will no longer treat the
reverse complement and non reverse complement as the same. This parameter
will irrelevant if |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.