You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The IntegrateData command from base Seurat deletes the tools/Staffli subobject which contains the Spatial Data that STUtility is storing. This normally would not be a problem as it is useless to use SpatialData in the integrated object.
However, in my case, I would like to use the IntegrateData() function to merge multiple samples together, than normalize that combined sample. Then, I use the subset() function to separate out each individual sample from the merged object.
I am using this to remove batch effect between spatial data samples. Unfortunately, tools/Staffi item is deleted from the merged object when the IntegrateData() function is used, which deletes all spatial data that STUtility stores. This makes it impossible to run commands like SpatialPlot as the spatial data is deleted.
Is there an STUtility supported version of the IntegrateData command? Or if not, a way to normalize multiple samples together to remove batch effect variation between samples?
Reproducible sample code is here. Notice how the last two graphs do not plot as the spatial data has been deleted. Any example spatial dataset should work, but let me know if you need a copy of mine.
Best,
corecontingency
The text was updated successfully, but these errors were encountered:
The IntegrateData command from base Seurat deletes the
tools/Staffli
subobject which contains the Spatial Data that STUtility is storing. This normally would not be a problem as it is useless to use SpatialData in the integrated object.However, in my case, I would like to use the
IntegrateData()
function to merge multiple samples together, than normalize that combined sample. Then, I use thesubset()
function to separate out each individual sample from the merged object.I am using this to remove batch effect between spatial data samples. Unfortunately,
tools/Staffi
item is deleted from the merged object when theIntegrateData()
function is used, which deletes all spatial data that STUtility stores. This makes it impossible to run commands like SpatialPlot as the spatial data is deleted.Is there an STUtility supported version of the IntegrateData command? Or if not, a way to normalize multiple samples together to remove batch effect variation between samples?
Reproducible sample code is here. Notice how the last two graphs do not plot as the spatial data has been deleted. Any example spatial dataset should work, but let me know if you need a copy of mine.
Best,
corecontingency
The text was updated successfully, but these errors were encountered: