How to use xscale
0
0
Entering edit mode
@tomasrodriguez-21656
Last seen 20 months ago
United States

I am having a difficult time getting rid of individual track labels or turning them white (either will do). I have tried the following based on the manual's instructions, but there is a lot of ambiguity on how to deal with xscale and setTrackXscaleParam. I am not even sure that setTrackStyleParam and setTrackXscaleParam are the appropriate parameters to set. In the manual, pages 34 and 39 reference xscale, but don't show how to use them. Why is there a ylabgp but no xlabgp?

The following do not work or prompt an error:

setTrackXscaleParam(trackList[[1]], xaxis.gp = gpar(col = "white"))
setTrackXscaleParam(trackList[[1]], "color" , "white")
setTrackXscaleParam(trackList[[1]], "color" , gpar(col = "white"))
setTrackStyleParam(trackList[[1]], "draw" , FALSE)
setTrackXscaleParam(trackList[[1]], "draw" , FALSE)
setTrackStyleParam(trackList[[1]], "xscale" , value =  F)
setTrackStyleParam(trackList[[1]], "xscale" , draw = F)
trackViewer • 446 views
ADD COMMENT

Login before adding your answer.

Traffic: 582 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