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
)

Arguments

weight_dir

the directory containing FUSION weights ('.wgt.RDat' files).

fusion_method

a string, specifying the method to choose in FUSION models. "best.cv" option will use the best model (smallest p-value) under cross-validation.

fusion_genome_version

a string, specifying the genome version of FUSION models

make_extra_table

If TRUE, make an extra table in predictDB format

ncore

integer, number of cores for parallel computing.