-
Notifications
You must be signed in to change notification settings - Fork 83
Hex code update from adding cancer_group as display_group #1142
Conversation
CI fails because of "High-grade glioma/astrocytoma" used as the filename which is not valid since the "/" in unix denotes the sub-folder "astrocytoma" which does not exist. We will update to display_group in #1142 |
Just want to be sure we are keeping display group as is and adding cancer group as a separate set of hex codes. Can check in later. |
This is the description of the 2 columns in the output file: OpenPBTA-analysis/figures/mapping-histology-labels.Rmd Lines 28 to 29 in 13b5725
My understanding from the comment here was that we will use cancer_group as the disease label/grouping (ie. display_group right?) #917 (comment). But did you want to use 1 set of hex_codes for display_group ( which in |
I started reviewing some of the figures and I think we need to keep some at a broader display group, have some be annotated with cancer group, but may have some annotated with both, so hex codes for both, yes. Sorry for the confusion - I had not dove into the figures when making that comment, but started making notes in the GSlides doc here and making a ticket here #1144. For now, I would say simply add a new That being said, I know we were talking about not including colors for some benign/ N<5 groups because those groupings are too low for group analyses. However, when looking at the transcriptomic reduction figure, I think that we should not remove any samples from that, for example. I think we might have to do the filtering within modules, rather than in this hex code module - does that make sense? |
Thank you for the clarification. I believe my code update in c2a9392 satisfies the requirements above.
That makes sense, I'll remove the <5 filter . However cancer_group is Currently for display_group in master (extracted from broad_histologies) adds a gray color for benign and other tumors and black for Normal samples. |
This sounds good for consistency and agree with not having normals in there |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am going to test out some other color palettes to try to make sure the new colors are cohesive with the display_group
, but in the meantime, made some other notes.
figures/mapping-histology-labels.Rmd
Outdated
# Keep only cancer_groups with 5 or more counts | ||
dplyr::filter(cancer_group_n >=5, | ||
# remove NA | ||
!is.na(cancer_group)) %>% |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Keep only cancer_groups with 5 or more counts | |
dplyr::filter(cancer_group_n >=5, | |
# remove NA | |
!is.na(cancer_group)) %>% | |
# Remove NA | |
dplyr::filter(!is.na(cancer_group)) %>% |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are not removing the cancer_group NA now but keeping them and adding a gray color
Co-authored-by: Jo Lynne Rokita <jharenza@gmail.com>
Co-authored-by: Jo Lynne Rokita <jharenza@gmail.com>
Co-authored-by: Jo Lynne Rokita <jharenza@gmail.com>
Co-authored-by: Jo Lynne Rokita <jharenza@gmail.com>
per slack discussion, @kgaonkar6 will update cancer group hex codes to:
|
Thanks for the colors @jharenza ! I've updated the colors and I'm using v21 histologies file now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
colors look better
Can I ask why this is marked with |
The cancer groups are being updated with the new histology file (we had |
Purpose/implementation Section
What scientific question is your analysis addressing?
Add updated hex codes for plotting groups.
What was your approach?
Updated
figures/mapping-histology-labels.Rmd
to generate hex codes forcancer_group
which was extracted fromharmonized_diagnosis
, additionally we removed benign and non-tumors and any group which has less than 5 countsWhat GitHub issue does your pull request address?
#1140
Directions for reviewers. Tell potential reviewers what kind of feedback you are soliciting.
Which areas should receive a particularly close look?
NA
Is there anything that you want to discuss further?
NA
Is the analysis in a mature enough form that the resulting figure(s) and/or table(s) are ready for review?
Yes
Results
What types of results are included (e.g., table, figure)?
table
What is your summary of the results?
38 cancer_group are now available.
Reproducibility Checklist
Documentation Checklist
README
and it is up to date.analyses/README.md
and the entry is up to date.