Description Usage Arguments Value Examples
maturing It can be useful to know the number of SNPs in advance of running a set of analyses.
1 | numAvailableRecords(snpData)
|
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). |
Returns a vector of record counts. The vector is named by the containing file path.
1 2 | dir <- system.file("extdata", package = "gwsem")
numAvailableRecords(file.path(dir,"example.bgen"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.