getMainTitleBoundingBox {karyoploteR} | 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.
kp <- plotKaryotype() bb <- getMainTitleBoundingBox(kp)