Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question regarding .get_lead() #136

Open
MC4R opened this issue Jan 28, 2025 · 1 comment
Open

Question regarding .get_lead() #136

MC4R opened this issue Jan 28, 2025 · 1 comment

Comments

@MC4R
Copy link

MC4R commented Jan 28, 2025

Hi He,

Hope you are doing well.

I have a question re windowsizekb argument used in the .get_lead(). What does windowsizekb=1000 mean here? Does it mean that it looks for lead variant within +/-1mb (that is 2mb total). Is that correct?

Cheers
Dev

@Cloufield
Copy link
Owner

Hi Dev,

Sorry for my late reply.
windowsizekb here means the size of a rolling window to determine a significant locus.
Gwaslab first find the first significant variant in a locus, and check within +/-1mb. If there are any other significant vairants within the flanking regions, the window will expand by 1mb from that variant. It will keep expanding by 1mb until there are no other lead variants within the expanded range. The variant with minimum P in this locus will be selected as lead variant.

Yunye

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants