linnean | R Documentation |
Creates a Linnean tree from taxonomic hierarchy.
linnean(taxa, distance = NULL)
taxa |
A taxonomic matrix with columns ordered according to linnean hierarchy starting with the highest. |
distance |
A vector with distances between levels starting with the highest. If not provided distances will be evenly distributed from 1 to 0. |
An hclust with all species.
family <- c("Nemesiidae", "Nemesiidae", "Zodariidae", "Zodariidae")
genus <- c("Iberesia", "Nemesia", "Zodarion", "Zodarion")
species <- c("Imachadoi", "Nungoliant", "Zatlanticum", "Zlusitanicum")
taxa <- cbind(family, genus, species)
par(mfrow = c(1, 2))
plot(linnean(taxa))
plot(linnean(taxa, c(2, 0.5, 0.3)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.