qiime2 / q2-longitudinal

QIIME 2 plugin for paired sample comparisons
BSD 3-Clause "New" or "Revised" License
9 stars 18 forks source link

ENH: `feature-volatility` should only plot the top N features #144

Closed nbokulich closed 4 years ago

nbokulich commented 5 years ago

Improvement Description feature-volatility has the habit of generating QZVs that are too large to open if the model selects a very large number of features. We should expose options to limit the number of features displayed, effectively shrinking the default size of these QZVs.

Current Behavior All important features are displayed.

Proposed Behavior Do something similar to sample_classifier.heatmap, selecting by count or by importance threshold (could get even more sophisticated and select the number of quartiles to display): https://github.com/qiime2/q2-sample-classifier/blob/2b2c0b5c4a41c95986edeb15557bfac8885dbc77/q2_sample_classifier/classify.py#L392-L397