Loads weights in FUSION format
load_fusion_weights(
weight_dir,
fusion_method = c("lasso", "enet", "top1", "blup", "bslmm", "best.cv"),
fusion_genome_version = NA,
make_extra_table = FALSE,
ncore = 1
)
the directory containing FUSION weights ('.wgt.RDat' files).
a string, specifying the method to choose in FUSION models. "best.cv" option will use the best model (smallest p-value) under cross-validation.
a string, specifying the genome version of FUSION models
If TRUE, make an extra table in predictDB format
integer, number of cores for parallel computing.