findends | R Documentation |
tries to be smart about detecting the interesting subregion to finemap/coloc.
findends(d, maxz = 4, maxr2 = 0.1, do.plot = FALSE)
d |
a coloc dataset |
maxz |
keep all snps between the leftmost and rightmost snp with |z| > maxz |
maxr2 |
expand window to keep all snps between snps with r2 > maxr2 with the left/rightmost snps defined by the maxz threshold |
do.plot |
if TRUE, plot dataset + boundaries |
logical vector of length d$position indicating which snps to keep
Chris Wallace
findpeaks
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.