Compute Chi-squared p-values on a Genotype data object
chisq_pvalues_gdata(
gdata,
snp_idxs,
response_column = "region",
response_value = "Europe",
threshold = 2,
...
)SNPs annotation data frame, chi-squared p-values in column pvalues
Genotype data object
SNPs indexes
Response column in gdata scans annotations data frame
Response value. The response vector will be a logical, true if equal to the value, false otherwise.
Keep only associations greater than the threshold
Passed to chisq_pvalues