check_args | R Documentation |
Check a list of arguments for a given function and:
Remove any that do not match available arguments for that method.
Set default values for any arguments that are NULL or not provided.
check_args(finemap_args, finemap_method, max_values = 1, verbose = TRUE)
finemap_args |
A named nested list containing additional arguments
for each fine-mapping method. e.g.
|
max_values |
Max number of values to return for any argument. |
verbose |
Print messages. |
Named list of arguments for a specific finemap_method
.
finemap_args <- list(SUSIE=list("typo1"=1,rescale_priors=TRUE),
FINEMAP=list("FINEMAP_path"=NULL,"model"=NULL))
fma <- check_args(finemap_args=finemap_args, finemap_method="SUSIE")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.