powered by
This function loads the input file path and runs cape It is used to run CAPE from a non R script (python)
load_input_and_run_cape( input_file = NULL, yaml_params = NULL, results_path = NULL, run_parallel = FALSE, results_file = "cross.RData", p_or_q = 0.05, n_cores = 4, initialize_only = FALSE, verbose = TRUE )
data input to be loaded
a parameter set up in the form of a YAML string
path to the results
boolean, if TRUE runs certain parts of the code as parallel blocks
the name of the saved data_obj RData file. The base name is used as the base name for all saved RData files.
A threshold indicating the maximum adjusted p value considered
integer, default is 4
boolean, default: FALSE
boolean, output goes to stdout
# NOT RUN { #load input in qtl2 zip format load_input_and_run_cape("cross_file.zip") #load input in qtl csv format load_input_and_run_cape("cross_file.csv") # } # NOT RUN { # }
Run the code above in your browser using DataLab