View source: R/getChromosomeNamesBoundingBox.R
getChromosomeNamesBoundingBox | R Documentation |
Return the regions where the chromosome names should be placed
getChromosomeNamesBoundingBox(karyoplot)
karyoplot |
a |
Given a KaryoPlot object, return the regions where the chromosome labels should be placed. The positions will depend on the plot type used.
Returns a list with four elements (x0, x1, y0 and y1), each of them a named vector of integers with one coordinatefor every chromosome in the plot.
In general, this function is automatically called by karyoploteR and the user never needs to call it.
plotKaryotype
, kpAddChromosomeNames
kp <- plotKaryotype()
bb <- getChromosomeNamesBoundingBox(kp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.