subset_gwas

subset_gwas(x, snps)

Arguments

x

GWAS object

snps

a vector, either row indicies (integers) into the GWAS object (e.g. obtained with filters such as which(GWAS'at'p < 5e-8), or rsids (characters) to be found in the GWAS rsid slot.

Value

GWAS object subsetted by snps