I am working 10x single cell data and I am using seurat package.
I am able to get the number of cells per cluster using the following code:
> n_cellsinsamples <- FetchData(seurat_integrated, vars = "ident") %>% > dplyr::count(ident) %>% tidyr::spread(ident, n)
But I would like to get the number of genes expressed per cell cluster. Can anyone suggest me how to do this?