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

barplot: add parameter for default sorting settings #112

Open
nbokulich opened this issue Oct 9, 2018 · 0 comments
Open

barplot: add parameter for default sorting settings #112

nbokulich opened this issue Oct 9, 2018 · 0 comments

Comments

@nbokulich
Copy link
Member

Improvement Description
Add a parameter to barplot to define how barplots should be sorted by default (i.e., upon opening). Taxonomic level defaults could also be useful.

The idea here is that barplots can be created that can be posted in a paper or sent to a collaborator as-is, without needing to say "click on box X and sort by X and Y and Z".

Current Behavior
Barplots are level 1 and sorted by the most abundant taxon by default.

Proposed Behavior
Add a "default_sort" parameter, which would accept a list of terms.

Add a "default_level" parameter, to define which level to display on opening.

See q2-longitudinal's volatility for existing examples.

Comments
The only thing that would be waaaay more useful is if there is some way to save settings in a viz, but I recognize that's a pipe dream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant