-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add cellassign organs to report #609
Conversation
I think we should update the parsing and and present both. |
Please also note I am prepared to die on the hill of using the Oxford comma. |
Actually, would we even need to do any sort of parsing here at all? Or just say, "here's the name of the reference we used and it contains these tissue types." |
Co-authored-by: Joshua Shapiro <[email protected]>
If there is nothing additional, no, we don't need to parse it. |
|
||
methods_text <- glue::glue( | ||
"{methods_text} | ||
* Annotations from [`CellAssign`](https://github.com/Irrationone/cellassign), a marker-gene-based approach ([Zhang _et al._ 2019](https://doi.org/10.1038/s41592-019-0529-1)). | ||
Marker genes associated with `{tissue_type}` tissue were obtained from [PanglaoDB](https://panglaodb.se/).\n | ||
" | ||
Marker genes associated with the following tissue types were obtained from [PanglaoDB](https://panglaodb.se/): {organs_string}.\n" |
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.
PangaloDB call the column organ
, so I don't think we want to call it "tissue types". But "organ" seems wrong too. Maybe "Marker genes for cell types categorized to the following organs were obtained from PanglaoDB"
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 have deleted and re-written like 4 sentence versions over here, so I'll take any wording suggestions I can get!
…elman/589-organs-to-report
Updated phrasing in 4828bce ... eh? feedback suuuper welcome. |
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 tried my hand at the wording suggestion 🤷♀️
Co-authored-by: Ally Hawkins <[email protected]>
Co-authored-by: Ally Hawkins <[email protected]>
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.
LGTM!
One other thing, I'm going to have to do another release for cell typing to account for the memory/ cpu increases before we can complete processing objects. Maybe you can file a PR with the changes from this and #608 to |
…eport Add cellassign organs to report
Stacked on #608Closes #589
Here, I've updated the cell type report to include organs. It turns out our current parsing of the reference name would not work well for all of our new references (e.g.
adrenal-pancreas-reproductive
orbone-and-soft-tissue
), so I decided to just scrap that code altogether, figuring the tissues/organs are more important than our internal reference name. Yes/no?Here's a screen shot example of how this part of the cell type report now looks!