Skip to content

Commit

Permalink
Rl/regression on all stats (#35)
Browse files Browse the repository at this point in the history
* Update 2_temporal-variation-in-motility-metrics.ipynb

- add regression stats for all metrics, while still only plotting those in the pub (Figure 4)

* Create figure-4_regression_stats.csv

* Update 2_temporal-variation-in-motility-metrics.ipynb

fix lint issue?

* Update 2_temporal-variation-in-motility-metrics.ipynb

now fix lint?
  • Loading branch information
lanery authored Oct 10, 2024
1 parent f4f4706 commit 5761ae2
Show file tree
Hide file tree
Showing 2 changed files with 93 additions and 26 deletions.
107 changes: 81 additions & 26 deletions notebooks/2_temporal-variation-in-motility-metrics.ipynb

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions results/figure-4_regression_stats.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
metric,r_squared,p_value
total_time,5.197518430285827e-07,0.9931334032314063
total_distance,-0.00959475130391382,0.24114878225117253
net_distance,-0.0025433903557102043,0.5469015263053196
max_sprint_length,-0.026991317300953038,0.0483097065754383
confinement_ratio,0.011443825303996907,0.20030303575526734
mean_curvilinear_speed,-0.012137111020249731,0.1871215004690094
mean_linear_speed,-0.0028893196440754687,0.5207908237629552
mean_angular_speed,0.0053433163859231084,0.382244766583136
num_rotations,0.016233375435390343,0.12671752413538928
num_direction_changes,0.0038740456096663244,0.4570425515346842
pivot_rate,0.0005486351704206017,0.7797483234042711

0 comments on commit 5761ae2

Please sign in to comment.