-
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
NickAkhmetov/CAT-1010 Integrate Cellpop into organ page #3674
NickAkhmetov/CAT-1010 Integrate Cellpop into organ page #3674
Conversation
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.
Looks good to me. Just a couple of questions.
filter: { | ||
bool: { | ||
must: [ | ||
{ | ||
term: { | ||
'entity_type.keyword': 'Dataset', | ||
}, | ||
}, | ||
mustHaveOrganClause(searchItems), | ||
], | ||
}, | ||
}, |
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 believe it's less expensive to perform a filter/query outside of the aggregations. Looking for supporting documentation.
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 can definitely revise this as needed; with that said, this is a direct port of the existing query logic.
// TODO: This is a placeholder for the actual implementation. | ||
// We do not currently have a programmatic way to tell | ||
// whether a dataset actually has labels yet. | ||
export const DATASETS_WITH_LABELS = [ |
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.
These are specific datasets within different dataset types, right? There are no underlying patterns?
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.
These are all of the publicly accessible datasets with complete Azimuth annotations. They are all rna-seq and either kidney or heart; there are also unannotated datasets that fall into those categories, however.
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.
Could we include that information in the comment?
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.
Looks good to me. Let's wait for the current release candidate to hit PROD before merging.
Summary
This PR adds cellpop visualizations to the organ page. This is best observed on the kidney page.
Current limitations
Remaining todos
Design Documentation/Original Tickets
https://hms-dbmi.atlassian.net/browse/CAT-1010
Testing
Manually tested on:
Screenshots/Video
Kidney page
Heart Page
Checklist
CHANGELOG-your-feature-name-here.md
is present in the root directory, describing the change(s) in full sentences.Additional Notes
Other minor changes in this PR: