Description Usage Arguments Details
View source: R/mutator_general.R
Performs basic sanity checks on a mutator and its candidate argument set.
1 | mutator_checks_general(fun, args)
|
fun |
The mutator function |
args |
A list of arguments with which the mutator such run 'normally'. i.e. a per base mutation rate between 0 the mutator on dummy data during the checks. |
Since mutators are custom functions that are only used in deeply nested code and called with mechanisms like do.call, it makes debugging them really hard. This function performs a number of checks to ensure that the basic errors are flagged before the main loop is initiated.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.