View source: R/getMainTitleBoundingBox.R
getMainTitleBoundingBox | R Documentation |
Return the regions where the chromosome names should be placed
getMainTitleBoundingBox(karyoplot)
karyoplot |
a |
Given a KaryoPlot object, return the regions where the main plot should be placed. The position will depend on the plot type used.
Returns a list with four elements (x0, x1, y0 and y1), each of them an integer with the coordinates for the main title
In general, this function is automatically called by karyoploteR and the user never needs to call it.
plotKaryotype
, kpAddMainTitle
kp <- plotKaryotype()
bb <- getMainTitleBoundingBox(kp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.