plotMutSites | R Documentation |
The mutated sites for each tip in a phylogenetic tree will be represented as colored dots positioned by their site number.
plotMutSites(x, ...) ## S3 method for class 'SNPsites' plotMutSites(x, showTips = FALSE, ...) ## S3 method for class 'lineagePath' plotMutSites(x, ...) ## S3 method for class 'parallelSites' 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.
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.