From 906d82a503acaac0b01a2f3c47237ec64eb3d046 Mon Sep 17 00:00:00 2001 From: Ally Hawkins <54039191+allyhawkins@users.noreply.github.com> Date: Thu, 2 May 2024 13:29:54 -0500 Subject: [PATCH 1/2] faq for why no annotations --- docs/faq.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/faq.md b/docs/faq.md index c2046d0..f30e332 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -129,6 +129,20 @@ The gene expression data files available for download report all possible genes A QC report for every processed library is included with all downloads, generated from the unfiltered and {ref}`filtered ` {ref}`Single-cell gene expression files `. You can find the [function for generating a QC report](https://github.com/AlexsLemonade/scpcaTools/blob/main/R/generate_qc_report.R) and the [QC report template documents](https://github.com/AlexsLemonade/scpcaTools/tree/main/inst/rmd) in the package we developed for working with processed ScPCA data, [`scpcaTools`](https://github.com/AlexsLemonade/scpcaTools). +## Which libraries include cell type annotations? + +Most single-cell and single-nuclei RNA-seq libraries available on the portal will have cell type annotations included in the processed `SingleCellExperiment` or `AnnData` object. +For more information on where to find the cell type annotations, refer to section(s) describing {ref}`SingleCellExperiment file contents ` and/or {ref}`AnnData file contents `. +If cell type annotation was performed, a supplemental cell type report (`SCPCL000000_celltype-report.html`) will be included in the download. + +There are a few scenarios where cell type annotation was not performed, which means no cell type annotations will be found in the processed objects and the download will not include a cell type report. + +- Cell type annotation is not performed for cell line samples. +- Cell type annotation is performed on the processed object which contains any cells remaining after removal of low-quality cells. +The processed objects must contain at least 30 cells to assign cell types with `CellAssign` and at least 2 cells to assign cell types with `SingleR`. +This means that in some rare cases there will not be enough cells remaining in the processed object for cell type annotation to be performed. + + ## What if I want to use Seurat instead of Bioconductor? The RDS files available for download contain [`SingleCellExperiment` objects](http://bioconductor.org/books/3.13/OSCA.intro/the-singlecellexperiment-class.html). From 6b4cc40f13f5e8739622e710399df82bb1643268 Mon Sep 17 00:00:00 2001 From: Ally Hawkins <54039191+allyhawkins@users.noreply.github.com> Date: Thu, 2 May 2024 14:23:58 -0500 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Stephanie Spielman --- docs/faq.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/faq.md b/docs/faq.md index f30e332..55e8c4b 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -135,11 +135,11 @@ Most single-cell and single-nuclei RNA-seq libraries available on the portal wil For more information on where to find the cell type annotations, refer to section(s) describing {ref}`SingleCellExperiment file contents ` and/or {ref}`AnnData file contents `. If cell type annotation was performed, a supplemental cell type report (`SCPCL000000_celltype-report.html`) will be included in the download. -There are a few scenarios where cell type annotation was not performed, which means no cell type annotations will be found in the processed objects and the download will not include a cell type report. +There are a few scenarios where cell type annotation was not performed, which means processed objects will not include cell type annotations, and the download will not include a cell type report. - Cell type annotation is not performed for cell line samples. -- Cell type annotation is performed on the processed object which contains any cells remaining after removal of low-quality cells. -The processed objects must contain at least 30 cells to assign cell types with `CellAssign` and at least 2 cells to assign cell types with `SingleR`. +- Cell type annotation is not performed on libraries with an insufficient number of cells. +The processed objects on which cell type annotation is performed must contain at least 30 cells to assign cell types with `CellAssign` and at least 2 cells to assign cell types with `SingleR`. This means that in some rare cases there will not be enough cells remaining in the processed object for cell type annotation to be performed.