Skip to content

Extracting count matrices for individual samples after integration #4125

Answered by timoast
VPetukhov asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @VPetukhov, for efficiency we don't store the original counts in the integrated assay (because we'd be then be storing them twice in the Seurat object). The original counts can be found in the RNA assay (or whatever the name of the original assay was that you integrated). You can access this using:

counts <- GetAssayData(integrated_object, assay = "RNA", slot = "counts")

If you want to know which cell was from which object originally, you'd need some additional metadata that describes this.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by saketkc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants