View source: R/ccrepe_analysis.R
| ccrepe_analysis | R Documentation |
A wrapper around the ccrepe function, provides parallel analysis
ccrepe_analysis(
ccrepe_job,
commonargs,
parallel = FALSE,
ncpus = getOption("micInt.ncpus", 1L),
cl = NULL,
verbose = TRUE
)
ccrepe_job |
A list of jobs to be passed to |
commonargs |
|
parallel |
Should the analysis be run in parallel? |
ncpus |
If |
cl |
Custom cluster to use if |
verbose |
Should the function display how much time it spent? |
A list of the results of the various jobs. Each element of this list containings the ccrepe results
ccrepe
library(micInt)
data("seawater")
sim.scores <- similarity_measures(subset= c("spearman","pearson"))
sim_funs <- lapply(sim.scores,sim_measure_function)
refined_table <- refine_data(seawater)
ccrepe_commonargs <- list(x = refined_table, iterations = 100,
memory.optimize = TRUE
, min.subj = 5)
ccrepe_job <- list(spearman=list(sim.score = sim_funs[["spearman"]]),
pearson = list(sim.score = sim_funs[["pearson"]]))
ccrepe_analysis(ccrepe_job,ccrepe_commonargs, parallel = TRUE, ncpus = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.