check_snps | R Documentation |
Check if SNPs are good for use in analyses and mark them as such.
check_snps(dat, analyses = c("mr", "coloc"), drop = T)
dat |
A data.frame of formatted data (exposure or outcome) |
analyses |
Which analyses should be checked? |
drop |
Whether to drop SNPs if they failed the check |
List of analyses and what data are checked for:
"MR"beta, SE, P value
"coloc"chromosome, position, P value
Data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.