hlpr_subset_across: Subset the across-variables

Description Usage Arguments Value

View source: R/helper-family.R

Description

Checks across and across_subset input and if at least one of the across_subset values exists filters the data accordingly.

Usage

1
hlpr_subset_across(data, across, across_subset)

Arguments

data

A data.frame that contains the variable specified in across.

across

Character value. Denotes the discrete variable in the data.frame across which the variables of interest are to be analyzed or displayed. Valid input options can be obtained via getAcrossOptions().

across_subset

Character vector. The groups of interest that the across- variable contains. Valid input options can be obtained via getVariableValues().

Value

A filtered data.frame, informative messages or an error.


kueckelj/celltracer documentation built on June 2, 2021, 6:37 a.m.