get_ancestry_matrix: Build an offspring matrix of GO terms

Description Usage Arguments

Description

A sparse binary Matrix object with one row and column for each pair of GO terms provided, where each row represents an ancestor and each column represents a descendant, with 1 marking ancestor/descendant pairs.

Usage

1
2
get_ancestry_matrix(terms, ontology = c("BP", "MF", "CC"),
  type = "OFFSPRING", upward = TRUE, tbl = FALSE)

Arguments

terms

IDs of GO terms that should be included in the ancestry matrix

ontology

Ontologies to use

type

Either OFFSPRING (default), CHILDREN, ANCESTOR, or PARENT


dgrtwo/GSEAMA documentation built on May 15, 2019, 7:22 a.m.