Code Snippet: Clustering
Simple example of clustered analysis using snow & MPI.
cluster_go <- function() {
cl <- makeCluster(8, type = "MPI")
clusterEvalQ(cl, source("geolincs.r"))
gses <- get_ss()
data <- clusterApplyLB(cl, gses, load_gse)
stopCluster(cl)
save(data, file="geo_lincs_metadata.tab")
}