The ResolveSeurat_to_Giotto (RStG) function converts a Seurat object from Resolve into a Giotto object for further analysis of spatial transcriptomic data.
The ResolveSeurat_to_Giotto (RStG) function is based on the seuratToGiotto function.
The RStG function was tested against an official Resolve tutorial from the Giotto suite webpage. See test example.
The Resolve tutorial from the Giotto suite webpage: Resolve Bioscience Breast Cancer Subcellular.
The RStG function uses a Seurat object created with ResolveSeurat and converts it into a Giotto object. In the Resolve tutorial from Giotto suite, the Giotto object is created starting from subcellular polygon (e.g. cell) and point (e.g. transcript) information.
The script currently requires the Giotto suite version.
Note:
- The coordinate systems for cells are different between Seurat and Giotto (in Seurat X and Y are inverted).