gviz: add horizontal line to DataTrack object
1
1
Entering edit mode
@silviaparolo-11104
Last seen 5.2 years ago

Hi,

I'm trying to visualize results using Gviz package.

Is it possible to add a straight horizontal line to a track created using DataTrack object?

I'm looking for something like abline(h=n)  in base R.

thanks,

Silvia

 

bioconductor gviz plot horizontal line • 1.3k views
ADD COMMENT
3
Entering edit mode
@florianhahnenovartiscom-3784
Last seen 3.0 years ago
Switzerland

From the DataTrack man page, in the Display Parameters section:

'baseline=NULL': Numeric scalar. Y-axis position of an optional

          baseline. This parameter has a special meaning for

          mountain-type and polygon-type plots, see the 'Details'

          section in 'DataTrack' for more information.

 

Florian

ADD COMMENT

Login before adding your answer.

Traffic: 384 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6