splitting a Seurat object containing 2 assay types into separate Seurat objects with 1 assay each #10223
-
|
Hi, I am working with a Seurat object that contain 2 assay types, RNA/Assay and ATAC/ChromatinAssay. I wanted to ask if it's possible to split this into two separate objects as I am looking to do analysis on the RNA portion separately. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hello @fudgerbeige, To split your object into two separate objects based on assay, you can use the DietSeurat command to keep your assay of interest (make sure to set DefaultAssay beforehand): Alternatively, you can simply subset based on features from each assay, though this would keep any reductions/graphs already in the object: Hope this helps! |
Beta Was this translation helpful? Give feedback.
Hello @fudgerbeige,
To split your object into two separate objects based on assay, you can use the DietSeurat command to keep your assay of interest (make sure to set DefaultAssay beforehand):
Alternatively, you can simply subset based on features from each assay, though this would keep any reductions/graphs already in the object:
Hope this helps!