Skip to content

Move some functions back to pecotmr#2

Merged
gaow merged 2 commits intomainfrom
qqtlr-dep-refactor
Apr 18, 2026
Merged

Move some functions back to pecotmr#2
gaow merged 2 commits intomainfrom
qqtlr-dep-refactor

Conversation

@gaow
Copy link
Copy Markdown
Contributor

@gaow gaow commented Apr 18, 2026

No description provided.

gaow and others added 2 commits April 18, 2026 07:04
Removed three local helpers (corr_filter, check_remove_highcorr_snp,
remove_highcorr_snp) and consume pecotmr equivalents instead:
- ld_prune_by_correlation replaces corr_filter
- enforce_design_full_rank replaces check_remove_highcorr_snp (exported,
  imported via @importFrom)
- drop_collinear_columns replaces remove_highcorr_snp (unexported in
  pecotmr; bound via getFromNamespace in zzz.R)

multicontext_ld_clumping rewritten as a thin orchestrator over
pecotmr::ld_clump_by_score: chr/pos parsed once, per-tau clumping via
-log10(p) scoring, final clump over the union scored by MAF. All
bigsnpr/bigstatsr boilerplate (FBM wrapping, single-variant shortcut)
now lives in pecotmr.

Migrated the corresponding testthat coverage to pecotmr. Kept qQTLR
integration tests that exercise enforce_design_full_rank via the
imported symbol and the warning path.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gaow gaow merged commit 3ae919a into main Apr 18, 2026
0 of 5 checks passed
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.

1 participant