Skip to content

Commit 4a793f6

Browse files
committed
update description
1 parent 3996bfa commit 4a793f6

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

src/metrics/ratio_inconsistent_peaks/config.vsh.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,21 @@ info:
1616
# Can contain only lowercase letters or underscores.
1717
- name: ratio_inconsistent_peaks
1818
label: Ratio of inconsistent peaks
19-
summary: "Ratio of the number of cell‑type marker‑expression peaks between validation and batch‑normalized data."
19+
summary: "Ratio of the number of cell‑type marker‑expression peaks between unintegrated and batch‑normalized data."
2020
description: |
21-
The metric compares the number of cell type specific marker expression peaks between the validation and batch-normalized data.
22-
The number of peaks is calculated using the `scipy.signal.find_peaks` function.
23-
The metric is calculated as the absolute difference between the number of peaks in the validation and batch-normalized data.
21+
The metric compares the number of cell type specific marker expression peaks between unintegrated and batch normalized data.
22+
The number of peaks is calculated using the `scipy.signal.find_peaks` function.
23+
The metric is calculated as the absolute difference between the number of peaks in the unintegrated and batch-normalized data.
2424
The (cell type) marker expression profiles are first smoothed using kernel density estimation (KDE) (`scipy.stats.gaussian_kde`),
2525
and then peaks are then identified using the `scipy.signal.find_peaks` function.
2626
For peak calling, the `prominence` parameter is set to 0.1 and the `height` parameter is set to 0.05*max_density.
27+
Ratio of inconsistent peaks is defined as number of cases where the number of peaks differ between the two splits in the batch
28+
normalized data divided by the total number of cases.
29+
Cases where there are different number of peaks between the two splits in the unintegrated data are ignored from the denominator.
30+
A lower score indicates better performance, means there are less cases with inconsistent peaks after batch correction.
31+
An alternative peak counting method using persistent homology is also implemented for comparison because peak calling
32+
is sensitive to noise and parameter choices.
33+
2734
references:
2835
doi:
2936
- 10.1038/s41592-019-0686-2

0 commit comments

Comments
 (0)