Available options for the enrichment objects of class family

Share:

Description

Available options for the enrichment objects of class family

Usage

1
2
3
## S3 method for class 'family'
get_enrichment_options(object, option,
  all_options = missing(option))

Arguments

object

the object to be enriched

option

a character vector listing the options for enriching the object

all_options

if TRUE then output a data frame with the available enrichment options, their descriptions, the names of the components that each option results in, and the names of the corresponding compute_* functions.

Details

A check is being made whether the requested option is available. No check is being made on whether the functions that produce the components exist.

Value

an object of class enrichment_options

Examples

1
2
3
4
5
## Not run: 
get_enrichment_options.family(option = "all")
get_enrichment_options.family(all_options = TRUE)

## End(Not run)