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
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 argumentcolor_palette
for extracting one of the 4 color palette pairs, with the default being set to 'normal'.Example