genomeAxis {genoset} | R Documentation |
Label an axis with base positions
genomeAxis(locs = NULL, side = 1, log = FALSE, do.other.side = TRUE)
locs |
GenomicRanges to be used to draw chromosome boundaries, if necessary. Usually rowRanges slot from a GenoSet. |
side |
integer side of plot to put axis |
log |
logical Is axis logged? |
do.other.side |
logical, label non-genome side with data values at tick marks? |
Label a plot with Mb, kb, bp as appropriate, using tick locations from axTicks
nothing
Other "genome plots": genoPlot
data(genoset,package="genoset") genoPlot(genoPos(genoset.ds), genoset.ds[,1, "baf"]) genomeAxis( locs=rowRanges(genoset.ds) ) # Add chromosome names and boundaries to a plot assuming genome along x-axis genomeAxis( locs=rowRanges(genoset.ds), do.other.side=FALSE ) # As above, but do not label y-axis with data values at tickmarks genomeAxis() # Add nucleotide position in sensible units assuming genome along x-axis