69
If you wish to run the code using default parameters, you must supply a counts file (Class.txt) along with the taxon level label (Class) and the type(s) of chart, by using the following command:
69
If you wish to run the code using default parameters, you must supply a counts file (phylum.txt) along with the taxon level label (Phylum), the type(s) of charts to produce, and an output directory, by using the following command:
73
plot_taxa_summary.py -i Class.txt -l Class -c pie,bar,area
73
plot_taxa_summary.py -i phylum.txt -l phylum -c pie,bar,area -o phylum_charts/
75
75
If you want to make charts for multiple levels at a time (phylum.txt,class.txt,genus.txt) use the following command:
79
plot_taxa_summary.py -i phylum.txt,class.txt,genus.txt -l phylum,class,genus -c pie,bar,area
81
If you want specify an output directory (e.g. "output_charts/", regardless of whether the directory exists, use the following command:
85
plot_taxa_summary.py -i Class.txt -l Class -c pie,bar,area -o output_charts/
79
plot_taxa_summary.py -i phylum.txt,class.txt,genus.txt -l Phylum,Class,Genus -c pie,bar,area -o phylum_class_genus_charts/
87
81
Additionally, if you would like to display on a set number of taxa ("-n 10") in the pie charts, you can use the following command:
91
plot_taxa_summary.py -i Class.txt -l Class -c pie -o pie_charts/ -n 10
85
plot_taxa_summary.py -i class.txt -l Class -c pie -n 10 -o class_pie_n10_charts/
93
If you would like to display generate pie charts for samples samples: 'sample1' and 'sample2' that are in the counts file header, you can use the following command:
87
If you would like to display generate pie charts for specific samples, i.e. sample 'PC.636' and sample 'PC.635' that are in the counts file header, you can use the following command:
97
plot_taxa_summary.py -i Class.txt -l Class -o pie_charts/ -b sample1,sample2
91
plot_taxa_summary.py -i class.txt -l Class -b PC.636,PC.635 -o sample_charts/