drawProteins
drawProteins copied to clipboard
Additional control of legend colours
Hi @brennanpincardiff,
By default drawProteins appears to use some sort of rainbow colour scheme which become hard to read when there are more than 5 feature types/categories displayed in the legend.
I think it would be great to have more control of the legend colours for protein features.
Best, Jan
Hi Jan, Yes, the colours are just the default that ggplot2 uses. Do you have particular desires with this? I'll have a play over the next few days. Thanks for your interest. Paul
Hi @brennanpincardiff,
I could have a request for this particular topic. Can the package be added a module to colour same 'domains' (or regions) in a user-chosen colour? e.g. Immunoglobulin domains - red, Kinase domains - blue etc..
Edit: Basically like adding a 'color column' to the dataframe submitted with draw_canvas() function.
p.s. Thanks a bunch for the package. I have been using it very regularly