Skip to contents

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 case_control function.

gwas_generator

logical; if TRUE an object of class result_snps will be saved inside output list.

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)