Description Usage Arguments Value Examples
Long-running jobs are vulnerable to early termination from maintanance or power outages. We recommend chopping your analyses into smaller chunks. This also offers the advantage of running jobs in parallel. This function builds a plan that roughly splits the whole analysis into equal amounts of work.
1 | buildAnalysesPlan(snpData, sliceSize)
|
snpData |
a pathway to a file containing GWAS data. The data can be in a variety of forms, such as standard PLINK format (bed/bim/fam), PLINK2 format (pgen/pvar/psam), Oxford format (bgen/sample), or CSV format (csv format in much slower due to the lack of compression for non-binary files). |
sliceSize |
number of SNPs to analyze per job |
Returns a data.frame with one job specification per row with the following columns:
Path to the genetic data file
Starting SNP
Ending SNP
Number of SNPs in this job
Within data file slice index
1 2 | dir <- system.file("extdata", package = "gwsem")
buildAnalysesPlan(file.path(dir,"example.bgen"), 45)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.