Learn R Programming

scOntoMatch (version 0.1.1)

plotOntoTree: Plot a tree representation of ontology terms

Description

Plot a tree representation of ontology terms

Usage

plotOntoTree(
  ont,
  onts,
  plot_ancestors = TRUE,
  ont_query = NULL,
  roots = c("CL:0000548"),
  ...
)

Value

an ontology tree plot

Arguments

ont

ontology object

onts

ontology ids to plot

plot_ancestors

if plot ancestors or not

ont_query

query ontology to highlight in the tree

roots

root ontology in tree, default "animal cells" in cell ontology

...

additional parameters for ontologyPlot::onto_plot

Examples

Run this code
if (FALSE) {
plotOntoTree(ont = ont, onts = c("CL:0000066", "CL:0000082"), ont_query = c("CL:0000082"))
}

Run the code above in your browser using DataLab