PyProphet / pyprophet

PyProphet: Semi-supervised learning and scoring of OpenSWATH results.
http://www.openswath.org
BSD 3-Clause "New" or "Revised" License
29 stars 21 forks source link

[FEATURE] Separate color blind friendly feature into separate PR from … #102

Closed singjc closed 2 years ago

singjc commented 2 years ago

Separated color blind friendly feature into it's own PR from PR #101

Allowing Color Adjustment for Color Blind Friendly Reports

This is a minor addition to add color blind friendly color adjustment to the reports, as requested by #100

This change includes color_blind_friendly() method for extracting a pair of color blind friendly colors. There are 4 color palettes: 'normal'. 'protan', 'deutran', or 'tritan'. This introduces an extra argument color_palette for extracting one of the 4 color palette pairs, with the default being set to 'normal'.

Example

pyprophet score --in merged_original.osw --color_palette deutran
pyprophet peptide --in merged_original.osw --context global --color_palette protan
pyprophet protein --in merged_original.osw --context global --color_palette tritan

color_blind_friendly