Skip to content

Commit

Permalink
Update src/cosmicqc/analyze.py
Browse files Browse the repository at this point in the history
Co-authored-by: Jenna Tomkinson <107513215+jenna-tomkinson@users.noreply.github.com>
  • Loading branch information
d33bs and jenna-tomkinson authored May 29, 2024
1 parent 6797700 commit 4c2e138
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/cosmicqc/analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,7 @@ def label_outliers(
include_threshold_scores: bool = True,
) -> pd.DataFrame:
"""
This function uses z-scoring to format the data for detecting outlier
nuclei or cells using specific CellProfiler features. Thresholds are
the number of standard deviations away from the mean, either above
(positive) or below (negative). We recommend making sure to not use a
threshold of 0 as that would represent the whole dataset.
Use identify_outliers to label the original dataset for where a cell passed or failed the quality control condition(s).
Args:
df: pd.DataFrame
Expand Down

0 comments on commit 4c2e138

Please sign in to comment.