Helper function to get a mask based on a list of vectors with identifiers. This function is used to gather exclusions in the run_nca() function.
parse_exclusions.RdHelper function to get a mask based on a list of vectors with identifiers.
This function is used to gather exclusions in the run_nca() function.
Arguments
- data
data.frame
- exclusions
a named list of lists, with the names corresponding to columns in the dataset. Each sub-list should contain vectors
idandreason. E.g.list( SAMPLEID = list( id = c("017011111-20120908T120000", "017011028-20130719T010000", "017011033-20140318T040000"), reason = c("unexplained anomaly", "manual lambda-z check", "assay error") ) )