2
$\begingroup$

I'm currently working with a seurat object and I'd like to calculate the expression values per gene for all cells within a particular cluster.

I've gone ahead and subsetted the cluster of interest.

tumor <- subset(x = data, idents = c("Tumor"), invert = FALSE)

How would I calculate the expression values per gene per cell?

FindAllMarkers

Finds markers (differentially expressed genes) for each of the identity classes in a dataset per ident.

$\endgroup$

1 Answer 1

2
$\begingroup$

No Seurat function is needed. In the seurat object "cells", you can access the raw counts or normalized counts using cells@assays$RNA@counts (raw counts) or cells@assays$SCT@data (SCT normalized data)

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.