Open adamjtaylor opened 1 year ago
This PR adds the spatial OBSM to the data object created by the sm.pp.mcmicro_to_scimap function, pulling coordinates from X_centroid and Y_centroid.
spatial
sm.pp.mcmicro_to_scimap
X_centroid
Y_centroid
This allows for scanpy visualizations such as sc.pl.embedding(adata, basis = 'spatial', color = 'leiden') to be run natively.
scanpy
sc.pl.embedding(adata, basis = 'spatial', color = 'leiden')
This PR adds the
spatial
OBSM to the data object created by thesm.pp.mcmicro_to_scimap
function, pulling coordinates fromX_centroid
andY_centroid
.This allows for
scanpy
visualizations such assc.pl.embedding(adata, basis = 'spatial', color = 'leiden')
to be run natively.