Add docs for manual stats calculations outside of plots - #215
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #215 +/- ##
==========================================
+ Coverage 97.40% 97.53% +0.13%
==========================================
Files 22 22
Lines 2308 2470 +162
==========================================
+ Hits 2248 2409 +161
- Misses 60 61 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
| @@ -0,0 +1,826 @@ | |||
| { | |||
There was a problem hiding this comment.
The cinnabar.stats module exposes are wide range of deviation and correlation metrics, see the API documentation for a complete list.Below you have a list of the acceptable strings, maybe having them here together with the meaning of the acronym could be helpful?
Reply via ReviewNB
There was a problem hiding this comment.
Would be good to link to the API docs too.
There was a problem hiding this comment.
Titles sizes seem off - I think "loading RBFE Results" should be the same size, if not bigger than "Available Metrics"?
There was a problem hiding this comment.
Thanks both, added a table linking the short-hand name to the function and a description and added a link to the API docs but had to change to myst-nb to get it to work.
| @@ -0,0 +1,826 @@ | |||
| { | |||
There was a problem hiding this comment.
get_relative_dataframe()returns aDataFrameof every directly simulated edge together with the corresponding experimental ΔΔG derived from the absolute experimental values, the dataframe is also grouped and sorted by thesourcecolumn to make computing metrics for a particular method straightforward.
Maybe break into two sentences.
Reply via ReviewNB
| @@ -0,0 +1,826 @@ | |||
| { | |||
There was a problem hiding this comment.
There was a problem hiding this comment.
Thanks good old copy-paste mistakes!
hannahbaumann
left a comment
There was a problem hiding this comment.
Thanks @jthorton lgtm, just left some small comments. Some of the senteces in the docs are quite long, maybe some of the comma separations could also be separate sentences?
| @@ -0,0 +1,826 @@ | |||
| { | |||
There was a problem hiding this comment.
Good point, though I want to avoid explaining this in every tutorial. How about linking to the FEMap API tutorial?
There was a problem hiding this comment.
I think I'd want to at least say "This data contains a mixture of experimental values, and calculated values generated via two different methods". Relying on linking out to another page for that much information can often serve as more of a distraction than anything else.
|
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
| @@ -0,0 +1,1659 @@ | |||
| { | |||
There was a problem hiding this comment.
hannahbaumann
left a comment
There was a problem hiding this comment.
Thanks, lgtm, just the small spelling mistake!
IAlibay
left a comment
There was a problem hiding this comment.
Overall lgtm, but it would be good to do the one thing re: what the OpenFE data contains. Nothing too verbose just "experimental data + 2 sets of calculated data generated via two different methods".
Description
Fixes #188 with new docs on calculating the metrics reported in scatter plots manually using the helper dataframe functions.
Drafted by me and refined by Claude
Todos
Notable points that this PR has either accomplished or will accomplish.
Questions
Checklist
newsentry for new features, bug fixes, or other user facing changes.Status
Tips
Since this will create a commit, it is best to make this comment when you are finished with your work.