View source: R/parallelSites.R
parallelSites | R Documentation |
A site may have mutated on parallel lineages. Mutation can occur
on the same site across the phylogenetic lineages solved by
lineagePath
. The site will be considered mutated in parallel
if the mutation occurs on the non-overlap part of more than two lineages.
The amino acid/nucleotide before and after the mutation can be allowed
different on different lineages or only the exact same mutations are
considered.
parallelSites(x, ...) ## S3 method for class 'lineagePath' parallelSites( x, minSNP = NULL, mutMode = c("all", "exact", "pre", "post"), ... ) ## S3 method for class 'sitesMinEntropy' parallelSites( x, minSNP = NULL, mutMode = c("all", "exact", "pre", "post"), ... ) ## S3 method for class 'paraFixSites' parallelSites(x, ...)
x |
A |
... |
The arguments in |
minSNP |
The minimum number of mutations to be qualified as parallel on at least two lineages. The default is 1. |
mutMode |
The strategy for finding parallel site. The default |
A parallelSites
object
data(zikv_tree_reduced) data(zikv_align_reduced) tree <- addMSA(zikv_tree_reduced, alignment = zikv_align_reduced) paths <- lineagePath(tree) x <- sitesMinEntropy(paths) parallelSites(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.