Frequently I will use summarize_taxa_through_plots.py with the -c option to bin by a metadata category. Unfortunately, the order of the resulting metadata categories is arbitrary and not easily controllable. I think the only way to get the order you want for the display of these categories would be to use sort_otu_table.py on each of the summarized tables. To that end, we should include an option, perhaps --category_order, that allows the user to specify the order of the categories they'd like for the plots. This would be pretty easy using either the biom functionality or a call to sort the tables after they were produced by the other parts of the script.
Frequently I will use
summarize_taxa_through_plots.py
with the-c
option to bin by a metadata category. Unfortunately, the order of the resulting metadata categories is arbitrary and not easily controllable. I think the only way to get the order you want for the display of these categories would be to usesort_otu_table.py
on each of the summarized tables. To that end, we should include an option, perhaps--category_order
, that allows the user to specify the order of the categories they'd like for the plots. This would be pretty easy using either the biom functionality or a call to sort the tables after they were produced by the other parts of the script.