Skip to content

Update plot.py#160

Open
ANRudrapatna wants to merge 1 commit into
mainfrom
ANRudrapatna-patch-8
Open

Update plot.py#160
ANRudrapatna wants to merge 1 commit into
mainfrom
ANRudrapatna-patch-8

Conversation

@ANRudrapatna

@ANRudrapatna ANRudrapatna commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Issue: there is currently no function to plot figures of validation performance (precision, recall, log2FC, and F1-score) v. the thresholds identified through threshold.py. Ideally, we would be able to visualize these as line plots (similar to results available in the maxATAC_data repository.

Solution: Added a new function to plot.py to generate a four-paneled figure with the aforementioned line plots. A matching function call was also added to threshold.py. I successfully tested this code for the TF CBX2 (sample output is displayed below).
CBX2CBX2_thresholdCalibration-_validationPerformance_vs_thresholdCalibration

Issue: there is currently no function to plot figures of validation performance (precision, recall, log2FC, and F1-score) v. the thresholds identified through threshold.py. Ideally, we would be able to visualize these as line plots (similar to results available in the `maxATAC_data` repository.

Solution: Added a new function to plot.py to generate a four-paneled figure with the aforementioned line plots.  A matching function call was also added to threshold.py. I successfully tested this code for the TF CBX2 (sample output is attached below).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant