When a user's search contains comma separated strings the app assumes they are providing a custom gene list. I haven't updated any help text about this so it is currently a hidden feature.
When a user searches for a custom gene list only one row is returned and that is custom gene list.
Search Results
Right now the custom gene list search result is really bare bones/ugly:
To generate the data for the above the gene_list_query_results_table function returns a dataframe with a data column that contains a list of gene_summary rows. These gene_summary rows have a new boolean known field to denote which rows are actually in gene_summary and which are not found. There may be a better way to organize this so feel free to make a suggestion.
This could be expanded to include more details about the known genes and make it more obvious what to click. We may also want to consider including gene and pathway search results for the individual items in case a user didn't mean to look for a custom gene list. They may have entered multiple genes and want to look at them one at a time.
We may also want to consider searching in the aka field in addition to approved_symbol field when checking for known genes.
Summary
As of this change the top two lines of the custom gene list summary are kind of repetitive:
Custom Gene List Searching
When a user's search contains comma separated strings the app assumes they are providing a custom gene list. I haven't updated any help text about this so it is currently a hidden feature. When a user searches for a custom gene list only one row is returned and that is custom gene list.
Search Results
Right now the custom gene list search result is really bare bones/ugly:
To generate the data for the above the
gene_list_query_results_table
function returns a dataframe with adata
column that contains a list of gene_summary rows. These gene_summary rows have a new booleanknown
field to denote which rows are actually in gene_summary and which are not found. There may be a better way to organize this so feel free to make a suggestion.This could be expanded to include more details about the known genes and make it more obvious what to click. We may also want to consider including gene and pathway search results for the individual items in case a user didn't mean to look for a custom gene list. They may have entered multiple genes and want to look at them one at a time.
We may also want to consider searching in the aka field in addition to approved_symbol field when checking for known genes.
Summary
As of this change the top two lines of the custom gene list summary are kind of repetitive:
Other Fixes
Includes a fix to handle a problem where shiny tries to re-render the detail summary page when user searches. See https://github.com/matthewhirschey/ddh/commit/545b15dcd115127941987adf0402c83d769912f
Removes
title
column from search results since it wasn't being used anywhere.