annotation_grid: Get logical matrix of term annotation for group of cases

View source: R/annotation_grid.R

annotation_gridR Documentation

Get logical matrix of term annotation for group of cases

Description

Get logical matrix of term annotation for group of cases

Usage

annotation_grid(
  ontology,
  term_sets,
  all_terms = grid_terms(ontology, term_sets),
  remove_unanimous = FALSE,
  cluster_rows = TRUE,
  cluster_cols = TRUE
)

Arguments

ontology

ontology_index object

term_sets

List of character vectors of ontological term IDs

all_terms

Character vector giving terms to use in annotation.

remove_unanimous

Logical value determining whether to remove terms present in all term_sets.

cluster_rows

Logical value rows determining whether to use hclust to cluster term_sets.

cluster_cols

Logical value rows determining whether to use hclust to cluster terms (based on correlation of inclusion in term_sets).

Value

Logical matrix.


ontologyPlot documentation built on May 29, 2024, 3:10 a.m.