Skip to content

Releases: boxiangliu/locuscomparepy

locuscomparepy 0.1.2

Choose a tag to compare

@boxiangliu boxiangliu released this 08 Jul 04:28

Released 2026-07-08.

  • The r² legend is now a compact stepped colorbar drawn inside the scatter panel (five colour blocks with 0.2/0.4/0.6/0.8 ticks), matching the R package's inset legend.

Install

pip install -U locuscomparepy

locuscomparepy 0.1.1

Choose a tag to compare

@boxiangliu boxiangliu released this 08 Jul 04:00

Released 2026-07-08.

  • Match the R package's figure proportions: the LocusCompare scatter is a square panel with the r² legend inset, and the two LocusZoom panels are wide-and-short (2:1) so, stacked, they align with the scatter's height.

Install

pip install -U locuscomparepy

locuscomparepy 0.1.0

Choose a tag to compare

@boxiangliu boxiangliu released this 08 Jul 03:46

Released 2026-07-08.

Initial Python port of the R package locuscomparer, at feature parity with locuscomparer v1.1.0.

  • read_metal: p-value / z-score (zscore_col) / pre-computed −log10(p) (logp_col) input, with underflow flooring
  • get_position, retrieve_LD: queries against the same reference database
  • get_lead_snp, assign_color
  • LocusCompare scatter + two LocusZoom panels via plotnine
  • locuscompare orchestrator, including custom ld=

Install

pip install locuscomparepy   # then: import locuscompare