nih-cfde / cfde-deriva

Collaboration point for miscellaneous CFDE-deriva scripts
Other
2 stars 3 forks source link

Missing Metabolomics and KF from "Common Fund Program" filter in Collections #350

Closed jrchudy closed 2 years ago

jrchudy commented 2 years ago

@jessicalumian commented on Wed May 04 2022

I navigated to Collections, then Common Fund Program. I see all the DCCs except for Metabolomics and KF. Is there a reason these two groups are not available, or is this a bug that can be fixed?

Capture1

Capture2


@lliming commented on Wed May 04 2022

Hi Jessica. What this means is that Kids First and Metabolomics didn't define any collections in their submissions. (When you're browsing collections, the "Common Fund Program" search facet will only list programs that have collections defined.)

To sanity check that, I reviewed Kids First's most recent approved submission in the submission registry, and it indeed looks like there were no collections in that submission. (I looked at the new metadata connectivity section and all the collection metrics are 0 for that submission. Also, the "KFDRC Data Review" table shows no collection stats.)

In at least one other area of the interface, I've seen an option available to reveal search facets that have 0 records, but I don't see it here. We'd need someone from the Deriva team (maybe @karlcz ) to explain when that option is and isn't available.


@karlcz commented on Wed May 04 2022

Facet search controls always limit themselves to values connected to the current data context. In other words, when you first start in the recordset app the facets will only show values connected to at least one of the records in the table.

As you start to set search criteria in a facet, this narrows the context and even fewer options will appear in other facets depending on the metadata connectivity of the narrowed search results. This is an important part of faceted search as it communicates how different concepts are correlated and focuses the user on metadata that is still available to further differentiate among the records in the current search.

However, a facet does not restrict its own search context, as that could make it impossible to widen a search. For example: search in biosamples, choose one anatomy term, then choose a second to find records matching either term. If the first selection were part of the context, then no other anatomy terms would be available anymore to broaden the criteria to multiple anatomy terms!

There is a "show more" button to open a modal window that may allow paging through more connected terms than are visible in the limited "first page" of options in the facet control itself. But this modal will still only show the terms that are connected to the current search context. It won't show disconnected choices.

You may be thinking of a feature in the record app to "show empty sections". This app focuses on a single "main record" at the top of the page and then shows other related records as sub-sections with nested tables. There are multiple such sub-sections, one for each different relationship we've elected to show on these pages. For example, a collection record can show sections for the files, biosamples, and subjects contained in the collection. When there are zero related records available by one relationship in C2M2, that section is "empty" and hidden by default, to make the rendered page more clearly emphasize those relationships.

On 5/4/22 12:05, Lee Liming wrote:

Hi Jessica. What this means is that Kids First and Metabolomics didn't define any collections in their submissions. (When you're browsing collections, the "Common Fund Program" search facet will only list programs that have collections defined.)

To sanity check that, I reviewed Kids First's most recent approved submission in the submission registry, and it indeed looks like there were no collections in that submission. (I looked at the new metadata connectivity section and all the collection metrics are 0 for that submission. Also, the "KFDRC Data Review" table shows no collection stats.)

In at least one other area of the interface, I've seen an option available to reveal search facets that have 0 records, but I don't see it here. We'd need someone from the Deriva team (maybe @karlcz https://github.com/karlcz ) to explain when that option is and isn't available.

— Reply to this email directly, view it on GitHub https://github.com/nih-cfde/dashboard/issues/134#issuecomment-1117707645, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIGPTBVT2KJAJIMDVHR62LVILDA7ANCNFSM5VCXM74Q. You are receiving this because you were mentioned.Message ID: @.***>