Skip to content
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

Dynamic Columns in Boolean Queries #61

Open
ryanrdoherty opened this issue Jun 22, 2023 · 0 comments
Open

Dynamic Columns in Boolean Queries #61

ryanrdoherty opened this issue Jun 22, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ryanrdoherty
Copy link
Member

Original comment from David:

email on July 15 2021 from dsro5os@gmail.com to steve and i

Strident request for dynamic columns came up again today (for about the thousandth time) from a user at the FASEB meeting. Basically, the use case was: Query 1 yields 1000 genes, with dynamic column data related to SNP abundance. Query 2 yields 1000 genes with dynamic columns related to fitness. Intersection yields 20 genes of interest ... but user wants to see relevant data for these genes, and they are hard to find in the 1000-gene lists, and its a pain to download and integrate.

I provided a workaround, by saving the 20 gene final result and then inserting this list as an upstream step ... but it seems like it should be easy to do this if we simply permit sorting on the Basket column. User can select their 20 genes of interest (would be good to provide a 'select all' button for basket), then click on Step 1 and sort by basket to see Step 1 dynamic values, then click on Step 2 and sort by basket to see Step 2 dynamic values.

Ryan Comment on possible implementation:

The reason this is a challenge is that boolean questions don't have the dynamic columns themselves so e.g. we wouldn't be able to see them in the Add Columns pop-up/ontology. But maybe we could do some trick where boolean queries all have a dynamic column whose value is a JSON object containing the input answers' dynamic columns. Maybe the client could some magic where if the input answers don't have any dynamic cols then it omits that from the Add Columns. Maybe even spoof it so they look like regular cols in the pop-up. But I don't think we could sort by those cols individually, and would have to rig something up in the reporters to make them download separately (not as a single JSON array).

@ryanrdoherty ryanrdoherty added the enhancement New feature or request label Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant