| open_modules {TRN} | R Documentation |
open_modules(repo);
pass the returned object to build_grn via the modules parameter to skip the WGCNA blockwise module detection. Note that the cache carries a fingerprint (gene id row order + WGCNA configuration); when it does not match the current data, build_grn will ignore it and rebuild automatically.
the cached module map object, or Nothing when the cache file does not exist (in that case build_grn will fall back to running the WGCNA blockwise module detection and write the cache automatically).
let modules = open_modules("Z:/hsa_mat");
let grn = WGCNA::build_grn(hsa, TF$Ensembl, opts, bicor = bicor, modules = modules);