annotation_grid {ontologyPlot}R 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.


[Package ontologyPlot version 1.7 Index]