Subset Seurat object from Xenium spatial data
0
0
Entering edit mode
6 months ago

Hi,

I am working with Xenium TMA data, and I want to subset each sample individually from the seurat object. The samples are from different organs, hence the subsetting. Please let me know if anyone knows how to subset. I can already do a fov zoom for each sample using x,y coordinates.

Thanks!

Susmita

Seurat Xenium Spatial • 461 views
ADD COMMENT
0
Entering edit mode

For subsetting a sample, you can do something like this-

Idents(seuratObj) <- "orig.ident" 
subj1 <- c("subject_1")
subj1_seuratObj <- subset(seuratObj, idents = subj1, invert = FALSE)
ADD REPLY

Login before adding your answer.

Traffic: 883 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6