Skip to content

Commit

Permalink
make sure has_celltypes is in supplemental
Browse files Browse the repository at this point in the history
  • Loading branch information
allyhawkins committed Apr 25, 2024
1 parent 1ff240c commit 2d3d30f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/qc_report/celltypes_supplemental_report.rmd
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,9 @@ has_cellassign <- "cellassign" %in% metadata(processed_sce)$celltype_methods
has_submitter <- "submitter" %in% metadata(processed_sce)$celltype_methods &&
!all(is.na(processed_sce$submitter_celltype_annotation)) # make sure they aren't all NA
# If at least 1 is present, we have cell type annotations.
has_celltypes <- any(has_singler, has_cellassign, has_submitter)
# check for umap and clusters
has_umap <- "UMAP" %in% reducedDimNames(processed_sce)
has_clusters <- "cluster" %in% names(colData(processed_sce))
Expand Down

0 comments on commit 2d3d30f

Please sign in to comment.