gene_count_hist | R Documentation |
This function returns a histogram of the number of spots that detected a gene.
gene_count_hist( se, slot = "counts", assay = "Spatial", sample_id = "orig.ident" )
se |
Spatial Seurat object we want to assess. |
slot |
slot from where we want to extract the count matrix. |
assay |
assay from where we want to extract the count matrix. |
sample_id |
Feature in metadata by which to identify the sample if the object is merged and contains several samples. |
List with the 4 QC plots
## Not run: library(Seurat) library(SeuratData) sp_obj <- SeuratData::LoadData(ds = "stxBrain", type = "posterior1") gene_count_hist( se = sp_obj, slot = "counts", assay = "Spatial", sample_id = "orig.ident") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.