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

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 • 2.2k views
ADD COMMENT
3
Entering edit mode
@florianhahnenovartiscom-3784
Last seen 6.2 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: 694 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