Closed gp201 closed 1 year ago
This PR does the following
color
config
plt.cm.tab20
Note If more than 24 lineages are present, then it will throw the following exception: Too many lineages to show. Use --config to group.
Too many lineages to show. Use --config to group.
Used the following files for proof of changes:
1) With time (W-SAT), with lineages
freyja plot freyja/data/aggregated_result.tsv --lineages --output plot.pdf --times freyja/data/times_metadata.csv --interval W-SAT --config freyja/data/plot_config.yml
2) With time (W-SAT), with VOC
freyja plot freyja/data/aggregated_result.tsv --output plot.pdf --times freyja/data/times_metadata.csv --interval W-SAT --config freyja/data/plot_config.yml
3) Without time, with lineages
freyja plot freyja/data/aggregated_result.tsv --lineages --output plot.pdf --config freyja/data/plot_config.yml
4) Without time, with VOC
freyja plot freyja/data/aggregated_result.tsv --output plot.pdf --config freyja/data/plot_config.yml
Awesome. Thanks Praneeth! Looks good.
Description
This PR does the following
color
flag with theconfig
flag. This allows users to group lineages and also assign colors to specific Variants of concern or lineages.plt.cm.tab20
to Plotly Dark24.Proof of Changes
Used the following files for proof of changes:
Images
Commands run to get the above images
1) With time (W-SAT), with lineages
2) With time (W-SAT), with VOC
3) Without time, with lineages
4) Without time, with VOC