Search
Question: gviz: add horizontal line to DataTrack object
1
gravatar for silvia.parolo
16 months ago by
silvia.parolo10 wrote:

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

 

ADD COMMENTlink modified 16 months ago by florian.hahne@novartis.com1.5k • written 16 months ago by silvia.parolo10
3
gravatar for florian.hahne@novartis.com
16 months ago by
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 COMMENTlink written 16 months ago by florian.hahne@novartis.com1.5k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 123 users visited in the last hour