Description Usage Arguments Details Value See Also Examples
Label an axis with base positions
1 2 | 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
1 2 3 4 5 | 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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.