This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Subset Seurat object from Xenium spatial data

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

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)

0 answers

No answers yet.

Log in to answer this question.