View source: R/generate_ontology.R
generate_ontology | R Documentation |
Comma separated terms are used to define links among components of a nexus character list
generate_ontology(x)
x |
a 'nex' object containing character descriptions |
## Not run:
x <- read.nex(system.file("extdata", "clarke_2006.nex", package = "phenotools"))
# plot data matrix:
plot(x)
# generate ontology based on comma-separated terms in characters:
ont <- generate_ontology(x)
# plot ontology for humerus characters:
searchtree(ont$tree, pattern="humer")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.