rrazaghi / modbamtools

Set of tools to manipulate and visualize modified base bam files
Apache License 2.0
49 stars 4 forks source link

How to color samples of the same group with the same color? #30

Open kaanokay opened 1 year ago

kaanokay commented 1 year ago

Hi,

I want to color samples in the same group in the same color.

my code:

modbamtools plot \ -r target_region_coordinates \ --gtf mm10.refGene_sorted.gtf.gz \ --out to_path --prefix gene --samples group1,group1,group1,group2,group2,group2 --track-titles gene group1_sample_1.bam group_1_sample_2.bam group_1_sample_3.bam group2_sample_1.bam group2_sample_2.bam group2_sample_3.bam

Lets say I want to color bam files in group 1 in red color, whereas I want to color bam files in group 2 in blue color.

How can I do that?

In addition to that, if its possible could you add more detailed examples in modbamtools tutorial?

Thanks!