Closed bistline closed 1 day ago
Attention: Patch coverage is 94.54545%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 70.07%. Comparing base (
d2f033c
) to head (be83be6
). Report is 24 commits behind head on development.
Files with missing lines | Patch % | Lines |
---|---|---|
...pt/components/search/results/StudySearchResult.jsx | 0.00% | 2 Missing :warning: |
.../components/search/results/ResultMetadataTable.jsx | 96.77% | 1 Missing :warning: |
BACKGROUND
A recent Zendesk request was submitted by a user looking for ways to export or preview high-level information about studies in search results. Currently, the only way to filter studies is through the search interface, but only on the filter values selected. There is no way to glean additional high-level information (e.g. species, disease, etc.) about search results without loading each study individually and inspected the contents of said annotations. The requesting user referenced the Genomic Data Commons cohort builder as an example.
CHANGES
This update now adds a table to all search results (both SCP- and HCA-based) that contains the entries from 5 metadata convention based annotations:
disease__ontology_label
,organ__ontology_label
,species__ontology_label
,library_preparation_protocol__ontology_label
, andsex
. This data is now present in the search API response for any request. Each study will show up to 2 values per annotation, with the rest hidden behind a{n} more...
label with a tooltip containing the rest of the labels. Any studies lacking the information for a given column will displayunspecified
. These result tables are shown both in study- and gene-based searches.Examples of results:
more...
tooltipExample in global gene search:
This can also be viewed as potential preparatory work for a "cohort-builder" type interface, though this would only be for study-level data. Cell-level cohorts would likely have more power and utility, but SCP lacks a true cell-level search interface, though it would be possible for metadata convention compliant studies.
MANUAL TESTING