flog_filter_df: flog_filter_df

Description Usage Arguments

View source: R/rh_functional_logger.R

Description

Applies a sequence of filtering steps to a data.frame and returns a (dataset, logdata) tuple where the logdata list contains a single data.frame generated by combining the results of each individual logging function

Usage

1
flog_filter_df(.data, filter_dots, logger)

Arguments

.data

A LoggingTuple or a raw dataset. The dataset entry should be a data.frame. See drug.markers::flog.

filter_dots

A vector or list of strings that define the filters that shouold be applied to a data.frame; each of these should be a valid input to the .dots arg of dplyr::filter_. If any of the entries is "identity", then the data.frame that is passed in is unaltered by that specific filtering step (although may be altered by subsequent steps).

logger

A single logging function(post, pre) for comparing a dataframe after a single filtering step (post) to the dataframe that before that step (pre). See drug.markers::flog for more details. This logging function is applied after each filtering step in filter_dots has ran.


russHyde/flogr documentation built on May 29, 2019, 9:10 a.m.