guigolab / ggsashimi

Command-line tool for the visualization of splicing events across multiple samples
MIT License
122 stars 42 forks source link

collapsed colouring options #63

Closed AMChalkie closed 3 years ago

AMChalkie commented 3 years ago

Hi,

Is there a way to set the colours for each replicate to be different when replicates are collapsed? I can't quite get the behaviour I would like - which is greater contrast between the collapsed replicate colours.

Also within this, I tried different transparency options using --alpha but they seem to make no difference.

Guidance appreciated.

Best wishes Alistair

dgarrimar commented 3 years ago

Hi @AMChalkie, unfortunately, the current implementation does not allow different colors for different samples aggregated via --overlay. How many samples are you plotting? Maybe it is a matter of choosing the good combination of colour+transparency. Can you show an example plot to try to understand why --alpha is not working well in your case?

AMChalkie commented 3 years ago

Hi, It is understandable as this is a bit of an outlier case for colouring. The setup is 3 reps * 2 conditions, so that part is pretty standard. We've gone the manual route to fix for publication. Can't show you the particular graphs right at the moment, but it was very odd, alphas of 0.1 and 0.9 produced the same plot.

dgarrimar commented 3 years ago

I see, well still it would be great to have an example to try to understand why this happens, even if it is a different region.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.