build_gwas: Open a SNP GDS file and extract information.

View source: R/build.R

build_gwasR 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 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)


gwid documentation built on Sept. 11, 2024, 9:04 p.m.