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

Cumulating selections/subsriptions to build a truly custom plot #385

Open
FranckLejzerowicz opened this issue Sep 21, 2020 · 2 comments
Open
Labels
emperor-integration feature request refactoring Use best practices or improve the usage of public APIs

Comments

@FranckLejzerowicz
Copy link

Hi,

Can the types of subscriptions be cumulated?
For example, to show samples containing (i) order Clostridiales (1st click' selection) and also show (i.e. cumulate) samples containing (ii) genus Prevotella (2nd click-based selection).
Or does every selection is reset back to zero at every click?

A useful feature would be to have a reset button tp control the "flushing" of the subscriptions, either a full reset, or a reset per added selection (this is something useful in iTOL, where one can rename and edit each data layer).

This is somewhat related to this issue posted to EMPeror: biocore/emperor#741

(still happy to help if not too finicky)

Cheers,
Franck

@fedarko fedarko added emperor-integration feature request refactoring Use best practices or improve the usage of public APIs labels Sep 21, 2020
@ElDeveloper
Copy link
Member

This is a cool idea, I think this could be achieved using a filtering panel. This UI component would allow you to select features or samples based on a metadata or count-based criteria. For each criteria you could hide, color, or collapse as needed. Similar to how you select differentials in Qurro.

@FranckLejzerowicz
Copy link
Author

FranckLejzerowicz commented Sep 23, 2020

Yes some sort of:
(i) select a metadata/brush samples --> create subscription
(ii) select another metadata/another brush samples --> add to created subscription
(iii) ...
and
(iv) assign a color scheme per subscribed item (can get messy tho...) --> I believe this is what you refer to as a "filtering panel"
With the possibility to reset each of (i), (ii) or both.
I'd like to help for selections to cumulate, maybe easier on the EMPeror side..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
emperor-integration feature request refactoring Use best practices or improve the usage of public APIs
Projects
None yet
Development

No branches or pull requests

3 participants