PoisonAlien / trackplot

Generate IGV style locus tracks from bigWig files in R
133 stars 16 forks source link

Highlight color alpha differs between tracks #34

Open SergioRodLla opened 5 months ago

SergioRodLla commented 5 months ago

Hi @PoisonAlien ,

Thank you for this fantastic tool! I wanted to highlight a specific region of the track plot but it seems like the box color alpha value is different for the two tracks. Is there a way to make it consistent?

track_plot(summary_list = t, 
           track_names = c("", ""), 
           groupAutoScale = T,
           show_ideogram = F,
           regions = markregions,
           boxcol = "#ffc41a",
           boxcolalpha = 0.3, 
           col = c("#000000", "#e74c3c"),
           y_max = 5,
)

image

Regards, Sergio