
Run repeated process negative controls
Source:R/077-negative-controls-leakage-0-9.R
run_process_negative_controls.RdRun repeated process negative controls
Arguments
- data
Data frame.
- outcome
Outcome column.
- analysis_fun
Function applied to each negative-control dataset.
- controls
Character vector among `permutation` and `shift`.
- replications
Number of controls per type.
- seed
Seed.
- extract_fun
Function converting analysis result to a data.frame.
- shift_lags
Lags sampled for shift controls.
- within
Optional permutation groups.