Description Usage Arguments Details Value Author(s) Examples
This function plots a phylogeny built from the unique sequences together with a representation of the abundance (frequencies) of these in the data.
1 | tree_obkData(x, ncatmax = 10, colfun = topo.colors)
|
x |
an obkData object. |
ncatmax |
an integer giving the number of categories of haplotype frequency. |
colfun |
a function to define the colours. |
First, the unique sequences are extracted using the function
haplotype
(in pegas). Then, a neighbor-joigning (NJ) tree
is built. The tree is plotted on the left-hand side of the graph, and
the frequencies of each unique sequence is represented in two ways:
coloured labels at the tips of the tree (with the colour scale drawn
at the top), and a horizontal barplot on the right-hand side of the
graph.
The function scans the data for the different genes and plots the output successively (the user is asked to type enter)
nothing the results are printed on the current graphical device.
Emmanuel Paradis
1 2 3 4 5 | ## Not run:
data(ToyOutbreak)
tree_obkData(ToyOutbreak)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.