View source: R/rh_functional_logger.R
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
1 | flog_filter_df(.data, filter_dots, logger)
|
.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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.