View source: R/groupClusters.R
A function to add and change columns of the groupClusters
function with the results of the searchClusterPatterns
function.
1 2 3 | callSearchclusterPatterns(table, patternIntersect, searchPatterns,
searchRefHeader, searchAltHeader, searchIdHeader, searchDistanceHeader,
searchReverseComplement, renameReverse)
|
table |
A table with columns containing cluster IDs, reference and
alternative nucleotide. See the output of the
|
patternIntersect |
A Boolean if the table contains patterns and these needed to be processed as well. |
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. |
searchIdHeader |
A string with the column name of the one with the pattern IDs. |
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. |
searchReverseComplement |
A boolean to also search the patterns in the reverse complement of the searchPatterns tibble. |
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.