Spatialfeatureexperiment

Latest version: v0.0.1

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.7.1

* Added image setter, Img<-
* Implemented spatial aggregation functions to aggregate directly from transcript spot file, from rowGeometry, or from cell geometries in SFE objects
* Implemented splitByCol to split SFE objects by geometry, splitSamples to split by sample_id, and splitContiguity to split by cotiguity of an annotGeometry

1.6.1

* readRDS converts old style SpatRasterImage to the new style
* readSelectTx and addSelectTx functions to read transcript spots from a few select genes from the parquet output of formatTxSpots or add them to an SFE object
* Added formatTxTech and addTxTech functions, basically thin wrappers of formatTxSpots and addTxSpots with presets for Vizgen, Xenium, and CosMX

1.6.0

* Changed defaults from sample_id = NULL to sample_id = 1L when dealing with 1 sample or "all" when dealing with multiple samples
* dim method for BioFormatsImage that doesn't load the image into memory
* Deal with univariate spatial results in featureData in cbind and changeSampleID
* Fixed super embarrassing bug in cbind that fails when combining more than 2 SFE objects
* Updated readXenium for XOA v2
* Updated BioFormatsImage to store affine transform info rather than converting to EBImage after transform
* Speed up affine transformation of sf geometries with sfheaders
* Coercion from Seurat to SFE
* SpatRasterImage and EBImage directly inherit from SpatRaster and Image respectively so the user no longer needs to call imgRaster every time they plots or operates on the image, which I find really annoying.
* Changed name EBImage to ExtImage to reduce confusion
* Bug fixes on image affine transformation
* Exporting some util functions: aggBboxes, getPixelSize, and imageIDs
* Read select genes as rowGeometry and add to existing rowGeometry without erasing existing genes in the same rowGeometry

1.5.2

* Added readXenium (for XOA v1)
* Added BioFormatsImage and EBImage classes to deal with Xenium OME-TIFF
* Conversion between SpatRasterImage, BioFormatsImage, and EBImage
* Overhaul of geometry operation functions for images and SFE objects for the new image classes, including bbox, crop, and affine transforms
* Don't throw error when there are no rows or columns left after [ subsetting
* cbind for multiple samples that have rowGeometry
* Rewrote df2df with the much faster sfheaders, deprecating the less efficient BPPARAM argument

1.5.1

* Added support for rowGeometry and transcript spots
* Reformat transcript spot files from Vizgen and CosMX
* Improved readVizgen for transcript spots
* Added readCosMX

1.3.1

* Refactored to remove "missing" methods for geometries, graphs, and local results.
* Changed defaults from sample_id = NULL to sample_id = "all" unless only one sample can be specified.

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.