Skip to contents

checkOF

Usage

checkOF(data, ..., plot = T)

Arguments

data

A data frame output from any ObjectFlag (OF) function from easyXpress.

...

<[`dynamic-dots`][rlang::dyn-dots]> Variable(s) used to group data. Variable names in data are supplied separated by commas and without quotes. For example, drug, strain.

plot

Logical, if TRUE, the default, a ggplot2 object will be returned in a list.

Value

If plot = TRUE a list with two elements is returned. The first element (d) is a data frame summarized by ..., with the numbers of objects flagged and retained by each OF applied to the data. The second element (p) is a ggplot2 object showing the objects retained after all filtering and faceted by ... If plot = FALSE only a data frame is returned.