subset_descendants: subset a SummarizedExperiment to which ontology tags have...

Description Usage Arguments Value

View source: R/subset_descendants.R

Description

subset a SummarizedExperiment to which ontology tags have been bound using 'bind_formal_tags', obtaining the 'descendants' of the class of interest

Usage

1
2
3
4
5
6
7
subset_descendants(
  se,
  onto,
  class_name,
  class_tag,
  formal_cd_name = "label.ont"
)

Arguments

se

SummarizedExperiment instance

onto

representation of an ontology using representation from ontologyIndex package

class_name

character(1) if 'class_tag' is missing, this will be grepped in onto[["name"]] to find class and its descendants

class_tag

character(1) used if given to identify "ontological descendants" of this term in se

formal_cd_name

character(1) tells name used for ontology tag column in 'colData(se)'

Value

instance of SummarizedExperiment


ontoProc documentation built on Nov. 8, 2020, 4:49 p.m.