Hi Folks
I wanted to make a plot in R and Im struggling with it!
I was hoping to use a BED file to plot blocks of equal height but varying length (peak positions) along the x axis (genomic position) the reason I want equal height is so I could plot using color intensity based on the fold enrichment values from the MACs peak caller. Exactly like the UCSC genome browser "dense" view. Can somebody give me an example of this??
Many thanks in advance
Basically like this track on hg19
This is what I'm looking for - Ill have a go! Thanks
Ok so I got it to work with my data and it looks good - thank you - However I was hoping to get a color legend embedded also. Do you have any Idea how I would do that? I have looked at plot3D
See edit with legend. it's not very nice because the numbers are not nice & round, but maybe it gives you a hint...