# NOT RUN {
data("gwa_sample")
selected_SNPs <- HQ_filter(data = gwa_sample,
FRQ_val = 0.05,
cal_val = 0.95,
filter_NA = FALSE)
# To calculate a correlation between predicted and actual p-values:
check_P(gwa_sample, HQ_subset = selected_SNPs,
plot_correlation = FALSE)
# To plot the correlation:
# }
# NOT RUN {
check_P(gwa_sample, HQ_subset = selected_SNPs,
plot_correlation = TRUE, plot_if_threshold = FALSE,
save_name = "sample")
# }
Run the code above in your browser using DataLab