I am trying to plot two groups within a single track using Gviz.
sample_tissue = DataTrack(data = all_beta, start = sg_tissue$start, end = sg_tissue$end, chromosome = chr, genome = gen, name = "Tissue Beta", groups = tissue_all_class, degree = .8, family = c("symmetric", "gaussian"), evaluation = 100, background.title = "brown", type = c("smooth", "p"), cex.legend = 0.7, cex.title = .6, cex.axis = .6, ylim = c(0,100))
I would like to change default colours (magenta and cyan), is it possible?
I've read the manual and it describes a step involving the use of feature, and the possibility of overwriting the default fill color, but I can't sort it out.
Moreover, I would like to know if it is possible to set different alphas for different elements in the track. In this case, I would like to have alpha = 1 for the "smooth" and alpha=0.5 for the "p", for example.
Thank you for your help,