Description Usage Arguments Value Examples
The result of fixationSites
and sitePath
contains all the possible sites with fixation mutation. The function
extractTips
retrieves the name of the tips involved in the fixation.
For lineagePath
, the function extractTips
groups all the tree tips according to the amino acid/nucleotide of the
site
.
For parallelSites
and sitePara
object, the
function extractTips
retrieve all the tips with parallel mutation.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | extractTips(x, ...)
## S3 method for class 'lineagePath'
extractTips(x, site, ...)
## S3 method for class 'fixationSites'
extractTips(x, site, select = 1, ...)
## S3 method for class 'sitePath'
extractTips(x, select = 1, ...)
## S3 method for class 'parallelSites'
extractTips(x, site, ...)
## S3 method for class 'sitePara'
extractTips(x, ...)
|
x |
A |
... |
Other arguments |
site |
A site predicted to experience fixation. |
select |
For a site, there theoretically might be more than one fixation on different lineages. You may use this argument to extract for a specific fixation of a site. The default is the first fixation of the site. |
Tree tips grouped as list
1 2 3 4 5 | data(zikv_tree_reduced)
data(zikv_align_reduced)
tree <- addMSA(zikv_tree_reduced, alignment = zikv_align_reduced)
mutations <- fixationSites(lineagePath(tree))
extractTips(mutations, 139)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.