Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sparsity figure + regenerate figshare data #84

Merged
merged 3 commits into from
Jun 26, 2023

Conversation

jjc2718
Copy link
Member

@jjc2718 jjc2718 commented Jun 16, 2023

Small changes to one of the supplementary figures, before generating supplementary data for all the genes to include with our paper. Not too many extensive code changes here.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@jjc2718 jjc2718 requested review from arielah and nrosed and removed request for arielah June 16, 2023 17:31
@review-notebook-app
Copy link

review-notebook-app bot commented Jun 20, 2023

View / edit / reply to this conversation on ReviewNB

nrosed commented on 2023-06-20T19:44:12Z
----------------------------------------------------------------

Line #14.    all_nz_coefs_df = all_nz_coefs_df[all_nz_coefs_df.lasso_param != 3.16e-08]

its not immediately obvious to me where the 3.16e-08 number comes from, maybe useful to add a comment


@review-notebook-app
Copy link

review-notebook-app bot commented Jun 20, 2023

View / edit / reply to this conversation on ReviewNB

nrosed commented on 2023-06-20T19:44:13Z
----------------------------------------------------------------

Line #41.    color_boxes(plt.gca())

pretty plot!


@review-notebook-app
Copy link

review-notebook-app bot commented Jun 20, 2023

View / edit / reply to this conversation on ReviewNB

nrosed commented on 2023-06-20T19:44:14Z
----------------------------------------------------------------

I am guessing the lines are plotted over one another is there a way you could make the points have different shapes so you could see the points overlapping?


jjc2718 commented on 2023-06-26T15:15:46Z
----------------------------------------------------------------

Varying the line styles seems to show the overlap a bit more clearly:

Copy link

@nrosed nrosed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, just very small comments

@@ -23,7 +23,8 @@ for gene in "${genes[@]}"; do
cmd="papermill lasso_range_gene_optimizers.ipynb "
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not know papermill existed! very cool!

Copy link
Member Author

jjc2718 commented Jun 26, 2023

Varying the line styles seems to show the overlap a bit more clearly:


View entire conversation on ReviewNB

@jjc2718 jjc2718 merged commit ca5aabb into greenelab:master Jun 26, 2023
1 check passed
@jjc2718 jjc2718 deleted the sparsity_fig branch June 26, 2023 15:29
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.

None yet

2 participants