read_ontology: Function to create a trait ontology from a tabular text file

Description Usage Arguments Details References Examples

View source: R/read_ontology.R

Description

Function to create a trait ontology from a tabular text file

Usage

1

Arguments

file

path to text file containing a tab-delimited trait ontology

root

whether to add a root node

Details

The text file should contain hierarchical data about relationships among traits (e.g., for feathers: feather -> rachis -> barb -> barbules -> barbule hooklets)

References

Baumel, J. J., and L. M. Witmer. 1993. Osteologia. P. in Handbook of avian anatomy: nomina anatomica avium. Publications of the Nuttall Ornithological Club.

Examples

1
2
3
4
5
6
7
## Not run: 
# Read in the ontology of Baumel and Whitmer (1993):
ont <- read_ontology(file = system.file("extdata", "baumel_ontology.txt",
package = "phenotools"))
ont

## End(Not run)

celiason/phenotools documentation built on Sept. 12, 2019, 6:49 p.m.