Skip to content

optimization on qr_and_twas.ipynb#1298

Merged
gaow merged 1 commit intoStatFunGen:mainfrom
al4225:main
Mar 12, 2026
Merged

optimization on qr_and_twas.ipynb#1298
gaow merged 1 commit intoStatFunGen:mainfrom
al4225:main

Conversation

@al4225
Copy link
Copy Markdown
Contributor

@al4225 al4225 commented Mar 11, 2026

  1. Added qrank_screen_calculate parameter to skip qr_screen
  2. modified variant_list strategy,
  • if there is only one column (variant_ids), then only calculate qr marginal coefficient based on this list;
  • If multiple columns are provided with colnames as context molecular_trait_object_id variant_id, then filter based on context-molecular_trait_object_id group, and extract unique variant_id for that group. If there is no matched pair, then skip the marginal coefficient calculation step.
  • This option allows us to only provide one significant file or separate files into multiple variant_ids files for diff context-molecular_trait_object_id group.

@gaow gaow merged commit 6bafb60 into StatFunGen:main Mar 12, 2026
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

Successfully merging this pull request may close these issues.

2 participants