Subset Seurat object from Xenium spatial data
0
0
Entering edit mode
10 days 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 • 173 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: 2317 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