Changes
Additions
- Added scSLIDE (Single-cell Sample-Level Inference using Density Estimation) to Seurat, enabling sample-level analysis of single-cell data
- Added
PrepareSampleObjectto select landmark cells and map every cell to its nearest landmarks - Added
SketchDataByGroupto sketch cells within metadata groups using uniform or leverage-score sampling, with configurable cell counts per group and layer - Added
QuickCorTestto select genes correlated with a response variable, optionally within metadata groups - Added
RunPLSto compute a partial least squares (PLS) dimensional reduction, whose components capture the variation in expression most predictive of one or more sample- or cell-level responses (supportsplsr,cpplsandspls) - Added
FindmmNNandFindsmNNto map cells to landmarks using weighted combinations of reductions or a single reduction, respectively - Added
GenerateSampleObjectto summarize landmark assignments per sample into a Seurat object for downstream sample-level analysis - Added
NormalizeChiSquaredto normalize raw landmark-by-sample counts as deviations from expected counts - Added
RunDiffusionMapto compute a diffusion map reduction withdestiny, including support for a precomputed distance matrix and eigenvalue-weighted embeddings - Added
TrajDETestto test expression changes along a continuous trajectory using negative binomial regression withglmGamPoi - Added
PlotAnnotatedHeatmapto display expression heatmaps with cells or samples ordered by metadata variables and optional categorical or continuous annotation bars
- Added
- Added
ReadAteraandLoadAterato read 10x Genomics Atera spatial data, including expression and control counts, Azimuth cell type annotations, cell centroids, cell/nucleus segmentations, transcript coordinates, and morphology images- Added support for gene selection when reading molecules, feature-type selection when reading counts, BPCells-backed counts caching, and parallel Atera reads using the active
future::plan() - Added
LoadAteraMolecules,LoadAteraSegmentations, andLoadAteraCodewordsto load additional transcript coordinates, segmentation polygons, and per-codeword coordinates into existing Atera objects
- Added support for gene selection when reading molecules, feature-type selection when reading counts, BPCells-backed counts caching, and parallel Atera reads using the active
- Added gene and region selection to
ReadXeniumandLoadXeniumfor molecule coordinates
Fixes
- Fixed
LeverageScore(and soSketchData) on objects with fewer than 50 features or cells by using the number of components already computed from the object's size - Updated
LeverageScore(and soSketchData) to scale better on BPCells on-disk data, by computing the random projection in blocks of cells instead of transposing the whole matrix. Results for a givenseeddiffer from previous versions - Fixed
LeverageScoreon BPCells on-disk data deleting unrelated files from the session temporary directory and leaving behind a full on-disk copy of the input matrix - Fixed
LeverageScoredensifying the whole layer when retrying after a failure, and reporting that no zero-variance features were found even when it had removed some - Fixed
ProjectDataandTransferSketchLabelsnot preserving factor levels and ordering in projected labels - Fixed SCT query projection using the resolved reference variance floor instead of the original
"umi_median"setting, which could reduce anchors inFindTransferAnchorsand causeTransferDatato fail - Improved table reading in
Read10X,ReadMtx,LoadSTARmap,LoadCurioSeeker, andReadSlideSeq, and coordinate handling inSpatialPlot - Fixed
Load10X_Spatialwith custom assay and slice names and uppercase feature names, and cell filtering inRead10X_Coordinates,Read10X_Segmentations, andRead10X_HD_GeoJson - Fixed
ImageDimPlotandImageFeaturePlotwith FOV and boundary names containing underscores - Fixed default orientation in
ImageDimPlotandImageFeaturePlotfor spatialFOVs, including older Xenium/Atera objects: x is horizontal and y increases downward; stored coordinates are unchanged - Fixed transcript quality filtering and count reader error reporting in
ReadXenium - Fixed
LoadXeniummolecule labels to match assay feature names when underscores or pipes are replaced with dashes - Reduced data exported to parallel workers by passing selected inputs directly
- Per-object inputs in
PrepSCTIntegration,FindIntegrationAnchors,MapQueryData, andBridgeCellsRepresentation - Feature chunks in
RunMarkVario - Cell names per field of view for segmentations and cell metadata rows for bounding boxes in
ReadVizgen
- Per-object inputs in
Deprecations
- Soft deprecation of
flip.xyinLoadXenium- Existing calls with
flip.xy = TRUEwill retain their behavior (requiring SeuratObject >= v5.3.0 to do so)
- Existing calls with