get_enrichment_options: Generic method for getting available options for the...

Description Usage Arguments Details Value See Also

View source: R/enrich-package.R

Description

Generic method for getting available options for the enrichment of objects

Usage

1
get_enrichment_options(object, option, all_options)

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

if all_options = TRUE then an object of class enrichment_options is returned, otherwise if option is specified the output is a character vector with the names of the functions that compute the enrichment components

See Also

enrich.glm, enrich.family, enrich.link-glm, enrich.betareg


enrichwith documentation built on Jan. 11, 2020, 9:21 a.m.