We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2c50a9 commit 85c56abCopy full SHA for 85c56ab
src/metrics/quality/config.vsh.yaml
@@ -25,6 +25,15 @@ info:
25
min: 0
26
max: 1
27
maximize: true
28
+ - name: number_of_cells
29
+ label: Number of Cells
30
+ summary: "The number of cells in the spatial dataset."
31
+ description: |
32
+ The number of cells in the spatial dataset.
33
+ references:
34
+ doi: "10.1101/2023.02.13.528102"
35
+ min: 0
36
+ maximize: true
37
38
resources:
39
- type: python_script
src/metrics/quality/script.py
@@ -23,6 +23,7 @@
23
metrics = {
24
"proportion_of_assigned_reads": proportion_of_assigned_reads(sdata)[0],
"proportion_of_annotated_cells": proportion_of_annotated_cells(sdata),
+ "number_of_cells": sdata['counts'].n_obs,
}
print("Write output AnnData to file", flush=True)
0 commit comments