chars_per_term {ontoFAST}R Documentation

Get number of chracters per each ontology term

Description

Returns matrix summarizing number of characters per each ontology terms in descending order

Usage

chars_per_term(ontology, annotations = "auto")

Arguments

ontology

ontology_index object with character annatotions included (ontology$annot_characters).

annotations

which annotations to use: "auto" means automatic annotations, "manual" means manual ones. Alternatively, any othe list element containing annotations can be specified.

Value

The matrix of ontology terms IDs, their names and character number.

Examples

data(HAO)
ontology<-HAO
ontology$terms_selected_id<-list(`CHAR:1`=c("HAO:0000653"), `CHAR:2`=c("HAO:0000653"))
chars_per_term(ontology, annotations="manual")

[Package ontoFAST version 1.0.0 Index]