peterjc / thapbi-pict

Tree Health and Plant Biosecurity Initiative - Phytophthora ITS1 Classifier Tool
https://thapbi-pict.readthedocs.io/
MIT License
8 stars 2 forks source link

Script to create read data reduction stacked line plot #559

Closed peterjc closed 1 year ago

peterjc commented 1 year ago

Figure 2 in our preprint, https://doi.org/10.1101/2023.03.24.534090 - which the journal team flagged as not being accessible:

data-reduction

The message for the paper doesn't actually need to distinguish the lines for each sample, but the new version using matplotlib makes that much easier to do:

data-reduction

This pull request adds a general purpose script under scripts/ and calls it from the relevant worked example to generate the figure used in the paper. It requires at least matplotlib v3.7 for reversing the legend order.