pypi piaso-tools 1.2.3
PIASO v1.2.3

latest releases: 1.2.6, 1.2.5, 1.2.4...
one month ago
pip install -U piaso-tools

Fixed

  • piaso.tl.predictCellTypeByGDR discarded its own result. The function
    copies the query internally to avoid mutating .X, and the copy rebound the
    local name, so the prediction was written to the copy. It printed "All
    finished. The predicted cell types are saved as CellTypes_gdr in
    adata.obs"
    and the caller's AnnData came back without that column. The
    cytome path was unaffected — it writes through a separate handle, which is
    why this survived. If you called it on an AnnData and found no prediction,
    this was why.

  • plot_embeddings_split(vmin_pct=…, vmax_pct=…) was accepted and ignored.
    The parameters arrived through **kwargs and were dropped, so a request for
    10/90 silently produced the full range. Nothing raised and the figure still
    rendered — only the contrast was wrong. Now implemented to match
    plotEmbedding, with explicit vmin/vmax still taking precedence.

Added

  • piaso.pp.alignSpatialCoordinates. Sections are placed on their chips
    independently, so a split plot renders each panel at its own offset; this
    centres each sample on its own centroid, and with_std=True also equalises
    apparent section size. Works on AnnData, an open cytome, or a path, and
    takes groupby= or batch_key= for the same column.

    This was described in the v1.2.2 notes but did not make the 1.2.2 wheel.
    It ships here.

  • palette= accepts a colormap name for a categorical column, sampled
    across the categories in their resolved order. On ordered categories —
    ages, timepoints, stages — that turns the legend into a ramp instead of a
    set of unrelated hues.

Don't miss a new piaso-tools release

NewReleases is sending notifications on new releases.