Releases: satijalab/seurat-object
Releases · satijalab/seurat-object
SeuratObject 5.3.0
Changes:
- Update
subset.Seuratto no longer calldroplevelson the input's cell-levelmeta.dataslot; updatesubset.Assayto no longer calldroplevelson the input's feature-levelmeta.featuresslot; updatesubset.StdAssayto no longer calldroplevelson the input's feature-levelmeta.dataslot (reverting #251, see discussion in #247) - Add
drop = FALSEwhen retrieving data inLayerData.Assayto preserve dimensions when subsetting to the requested cells (#261) - Update
sf.dataslot in theSegmentationclass to store adata.framein accordance with changes in loading Visium segmentations (#267) - Add
compactslot to theSegmentationclass to denote whether the object only stores segmentation information in thesf.dataslot, or also thesp-inherited slots (#267) - Update
CreateSegmentation,CreateSegmentation.data.frame,CreateSegmentation.sf, and methods interacting withSegmentationobjects (Cells.Segmentation,RenameCells.Segmentation,Crop.Segmentation,subset.Segmentation,[[<-,coordinates,Overlay,show,setValidity) to account for the addition ofcompactand the update tosf.data- For a detailed description of changes, see #267
- Add
coords_x_orientationslot to theFOVclass to hold the orientation of the x-axis for spatial data (to mark whether the coordinate system of a spatial object has been updated) - Update
UpdateSeuratObjectto check whether an object requires an update to the coordinate system based on the existence and value of thecoords_x_orientationslot (currently only relevant for Visium objects) - Add method
safeValidityCheckto show an improved error message suggesting to runUpdateSeuratObjectwhen a "slots in class definition but not in object" error is thrown by R's internal object validation; use inFOV-interacting methods
SeuratObject 5.2.0
Changes:
- Add
sf.dataslot to theSegmentationclass to store ansfobject (#258)sf.datawill represent segmentation boundaries for a given image inside theimagesslot of a Seurat object- Add
CreateSegmentation.sf,[[<-,setValidityfor interacting withSegmentationobjects - Update
RenameCells.Segmentation,subset.Segmentation,[,UpdateSeuratObject
- Add optional
miscslot toSpatialImageto store additional info associated with an object in a list (#258)
SeuratObject 5.1.0
Changes:
- Update
subset.Seuratto calldroplevelson the input's cell-levelmeta.dataslot; updatesubset.Assayto calldroplevelson the input's feature-levelmeta.featuresslot; updatesubset.StdAssayto calldroplevelson the input's feature-levelmeta.dataslot (#251) - Update
UpdateSeuratObjectto calldroplevelson the input's cell-levelmeta.dataslot (@samuel-marsh, #247) - Drop
SeuratfromEnhances; update.IsFutureSeuratto avoid callingrequireNamespace('Seurat', ...)(#250) - Update the
VariableFeatures.StdAssaysetter to apply a speedup (#240) - Add
SVFInfo.Assay5&SpatiallyVariableFeatures.Assay5(#242) - Fix bug in
UpdateSeuratObject(@neanderthalensis, #210) - Fix bug in
WhichCells.Seurat(@maxim-h, #219) - Fix bug in
SpatiallyVariableFeatures.Assay(#242) - Fix bug in
merge.Seurat(#246) - Fix bug in
VariableFeatures.StdAssay(#245) - Fix bug in
HVFInfo.StdAssay(#244) - Fix bug in
RenameCells.Seurat(#237) - Fix bug in
subset.StdAssay(#214)
SeuratObject 5.0.2
Changes:
- Properly re-export
%||%from rlang (#178) - Class key-based warnings (#180)
- Require R 4.1 (#180)
- Fix errors in
UpdateSeuratObject(@ddiez, #182) - Add
...to call signature forRadiusgeneric (#190) - Fix bug in
PolyVtx(#194) - Fix bug in feature-level subsetting (#200)
- Update
UpdateSeuratObjectto run withoutSeuratinstalled (#199) - Add warning in
Layers.Assay()when the search returns no results (@maxim-h, #189) - Fix bug in
subsetto allow empty images to be dropped (#204)
SeuratObject 5.0.1
Changes:
- Update internal calls to
GetAssayData()to uselayerinstead ofslot(#160) - Update Matrix version to 1.6-2 (#164)
- Change layer-saving in
SaveSeuratRds()to move all layers instead of just those intempdir()(#169) - Update internal calls to
SetAssayData()to uselayerinstead ofslot(#171) - Replace internal calls of
FilterObjects()to.FilterObjects()(#171)
SeuratObject 5.0.0
Added
- New
Assay5class with support for layers; layers provide support for:- arbitrary expression matrix names and number
- arbitrary expression matrix shape
- disk-backed expression matrices
- New
$method forAssayandAssay5objects to pull expression matrices, replacing informal usage of@ - New
LayerData()andLayerData()<-functions to replaceGetAssayData()andSetAssayData(), respectively - Support for renaming cells and features with
dimnames()<-(changing feature names does not apply to v3Assayobjects) - New
SaveSeuratRds()andLoadSeuratRds()to save and loadSeuratobjects with disk-backed layers - New
droplevels.LogMap()to drop unused entries from aLogMap - New ability to split (
split()) and rejoin layers (JoinLayers()) withinAssayandAssay5objects based on grouping factor
Changes
slotargument deprecated in all contexts; where applicable, replaced withlayerargument[forAssayandAssay5objects take a layer name to pull an expression matrix- option
Seurat.object.assay.bracketsallows restoring v3/v4 behavior of subsetting the main expression matrix (eg.data)
- option
- Stricter object validation routines at all levels
PackageCheck()deprecated in favor ofrlang::check_installed()AttachDeps()deprecated in favor of using theDependsfield ofDESCRIPTION- Subobjects within a
Seuratobject may have subsets of cells present at the object level - Begun replacement of
stop()andwarning()withrlang::abort()andrlang::warn()for easier debugging - Expanded validation and utility of
KeyMixinobjects
Removed
- Unused object constructors (eg.
Assay(),Seurat())
SeuratObject 4.1.4
Changes
- Fixes for
CellsByIdentities(#80) - Remove {rgeos} from Suggests and replace with {sf} due to {rgeos} package retirement
- New check for potential binary breaks between dependencies and SeuratObject
SeuratObject 4.1.3
Changes
- Move {rgeos} to Suggests; segmentation simplification now requires {regos} to be installed manually
- Move {sp} to Depends
Added
- Add keys to
AssaysandDimReducsinUpdateSeuratObjectwhen missing