Skip to content

lstar-sc 0.1.2

Choose a tag to compare

@pkharchenko pkharchenko released this 02 Jul 17:04
· 120 commits to main since this release

Content-based measure state + state-based viewer basis, consistent across Python/R/JS.

Since 0.1.1:

  • read_anndata/read_mudata infer state (raw/lognorm/scaled) from data content, not the source slot/name (fixes a scaled .X reading as None and a log-normalized .raw mislabeled raw); a genuinely-raw .X is named counts.
  • extend_for_viewer (Python + R) selects its count basis by state; adds counts=/basis=, a clear error listing present measures when there's no raw basis, and an opt-in basis="lognorm" mode. Fixes: convert_anndata output (scaled .X + lognorm .raw, no counts) could not be viewer-prepped.
  • JS extendForViewer + selectCountsBasis bindings — state-based basis selection now consistent across Python/R/JS.
  • lstar.view() / lstar::view() soft-delegate to the pagoda3 viewer (optional, one-way).