Description Usage Arguments Value Examples
The mutated sites for each tip in a phylogenetic tree will be represented as colored dots positioned by their site number.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | plotMutSites(x, ...)
## S3 method for class 'SNPsites'
plotMutSites(x, showTips = FALSE, ...)
## S3 method for class 'lineagePath'
plotMutSites(x, ...)
## S3 method for class 'fixationSites'
plotMutSites(x, ...)
## S3 method for class 'paraFixSites'
plotMutSites(
x,
widthRatio = 0.75,
fontSize = 3.88,
dotSize = 1,
lineSize = 0.5,
...
)
|
x |
An |
... |
Other arguments |
showTips |
Whether to plot the tip labels. The default is |
widthRatio |
The width ratio between tree plot and SNP plot |
fontSize |
The font size of the mutation label in tree plot |
dotSize |
The dot size of SNP in SNP plot |
lineSize |
The background line size in SNP plot |
A tree plot with SNP as dots for each tip.
1 2 3 4 | data(zikv_tree_reduced)
data(zikv_align_reduced)
tree <- addMSA(zikv_tree_reduced, alignment = zikv_align_reduced)
plotMutSites(SNPsites(tree))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.