Create ontological plot of marginal probabilities of terms
plot_term_marginals(
ontology,
term_marginals,
max_terms = 10,
min_probability = 0.01,
...
)
ontology_index
object.
Numeric vector of marginal probabilities of inclusion in phi
for individual terms, named by the term IDs.
Maximum number of terms to include in plot. Note that additional terms may be included when terms have the same marginal probability, and common ancestor terms are included.
Threshold probability of inclusion in phi
for triggering inclusion in plot.
Additional arguments to pass to onto_plot