build_gwas {gwid} | R Documentation |
Open a SNP GDS file and extract information.
Description
Open a SNP GDS file and extract information.
Usage
build_gwas(gds_data = "name.gds", caco = "name.Rda", gwas_generator = TRUE)
Arguments
gds_data |
File name |
caco |
An object of class caco. Output of |
gwas_generator |
logical; if |
Value
a list of seven objects; including smp.id, snp.id, snp.pos, smp.indx, smp.snp (a matrix with samples in rows and snp in columns), caco, snps(column sum of smp.snp for each case control)
[Package gwid version 0.2.0 Index]