onto_process: Shortcut to process characters and ontology

View source: R/Viz_manipul_main.R

onto_processR Documentation

Shortcut to process characters and ontology

Description

This is a shortcut function to make characters and ontology suitable for visualization using ontoFAST interactive tools.

Usage

onto_process(ontology, name_characters, do.annot = TRUE, ...)

Arguments

ontology

Ontology

name_characters

a vector of character names

do.annot

specifiees if you need to run automatic annotations or not

...

other arguments for annot_all_chars() function

Value

Ontology index object named

Examples

data(Sharkey_2011)
data(HAO)
hao_obo<-onto_process(HAO, Sharkey_2011[,1], do.annot = FALSE)
ontofast <- new.env(parent = emptyenv())
ontofast$shiny_in <- make_shiny_in(hao_obo)
runOntoFast(is_a = c("is_a"), part_of = c("BFO:0000050"), shiny_in="shiny_in" )

sergeitarasov/ontoFAST documentation built on Aug. 5, 2022, 4:20 a.m.