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

REF: Adds 4th dimension of Sample_Size to Heatmap #79

Merged
merged 7 commits into from
Jul 2, 2024

Conversation

cherman2
Copy link
Contributor

No description provided.

@cherman2 cherman2 marked this pull request as draft May 20, 2024 16:55
@cherman2 cherman2 added this to the Manuscript Prep milestone May 23, 2024
@cherman2 cherman2 requested review from lizgehret and removed request for lizgehret May 30, 2024 17:32
@cherman2
Copy link
Contributor Author

cherman2 commented Jun 4, 2024

failing will be fixed by #78

@cherman2 cherman2 requested a review from lizgehret June 4, 2024 20:43
@cherman2
Copy link
Contributor Author

cherman2 commented Jun 4, 2024

Hi @lizgehret,
This passes locally and the viz has been tested locally. I am now assigning you because this PR is ready

@cherman2 cherman2 marked this pull request as ready for review June 4, 2024 20:44
@lizgehret
Copy link
Member

CI failures aren't interesting (see related PR here). i'm planning to do a thorough review this by EOW @cherman2, thanks for your patience!

Copy link
Member

@lizgehret lizgehret left a comment

Choose a reason for hiding this comment

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

Okay @cherman2, finally reviewing this (sorry for the delay)!

Code review all looks reasonable - just pulled down locally to do a user review, and I think all looks as expected. Here's what I see in this updated heatmap (when Sample_Size is enabled):
Screen Shot 2024-06-11 at 2 45 26 PM

I think my only comment about this would be to add some sort of a description about what the Sample_Size toggle is doing (either in the plugin setup or potentially the viz itself, although that might be overkill)? Maybe that's something that would be obvious to FMT users though, so take that with a grain of salt!

Otherwise this all lgtm 🙂

@cherman2
Copy link
Contributor Author

cherman2 commented Jun 11, 2024

You are totally right @lizgehret I should explain sample-size somewhere. I think I am going to do it in my general description of the method because it isn't a param that is passed so I can't do it as a param description (which location wise would make the most sense to me).

looking at your screenshot I think I want to rename Sample_Size to samplesize to match rowheight and columnwidth. What do you think about that?

  • add samplesize explanation
  • change samplesize name

@lizgehret
Copy link
Member

looking at your screenshot I think I want to rename Sample_Size to samplesize to match rowheight and columnwidth. What do you think about that?

I think that's reasonable! Maybe it's worth utilizing JS formatting for those variables (i.e. sampleSize, rowHeight, columnWidth) just so there's more of a distinction between words?

@cherman2
Copy link
Contributor Author

On it! Thanks for the feedback!

@cherman2 cherman2 requested a review from lizgehret June 12, 2024 15:34
@ebolyen ebolyen self-assigned this Jun 13, 2024
Copy link
Member

@ebolyen ebolyen left a comment

Choose a reason for hiding this comment

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

Just tested locally as well. @cherman2 did you want to add the description of sample size? (you can also add this in the index.html template)

Copy link
Member

@lizgehret lizgehret left a comment

Choose a reason for hiding this comment

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

updated labels lgtm @cherman2 - just echoing Evan, do you want to add that description in this PR or do that in a separate one? i can get this merged if you want to do that separately; just lmk what your plan is!

@ebolyen ebolyen assigned cherman2 and unassigned ebolyen Jun 20, 2024
@cherman2
Copy link
Contributor Author

Hi @lizgehret,
Finally addressesd the samplesize explaination. Could you give this a final review when you have a second?

@cherman2 cherman2 assigned lizgehret and unassigned cherman2 Jun 26, 2024
@lizgehret
Copy link
Member

tested locally and the sampleSize description looks good!

one thing i noticed while testing locally is that now the x_label and y_label signals are the only params without camelCase. I don't have strong feelings about this one, but you could change those to xLabel & yLabel if you wanted everything to have the same format.
Screen Shot 2024-06-26 at 2 09 52 PM

i'm happy to merge this as-is, so you just lmk what you'd prefer!

@lizgehret lizgehret removed their assignment Jun 26, 2024
@cherman2
Copy link
Contributor Author

@lizgehret, I did that little fix you suggested. I assume you will merge this pr in so I am re-assigning! thanks for your feedback.

@cherman2 cherman2 assigned lizgehret and unassigned cherman2 Jun 27, 2024
@lizgehret
Copy link
Member

LGTM! 🚀

@lizgehret lizgehret merged commit e6be2c6 into qiime2:dev Jul 2, 2024
2 of 4 checks passed
@lizgehret lizgehret deleted the 4th-heatmap branch July 2, 2024 18:03
@lizgehret lizgehret assigned cherman2 and unassigned lizgehret Jul 2, 2024
@cherman2 cherman2 removed their assignment Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

3 participants