| kpAddMainTitle {karyoploteR} | R Documentation |
Plots the chromosome names in the karyoplot
kpAddMainTitle(karyoplot, main=NULL, ...)
karyoplot |
a |
main |
(character) the main title of the plot |
... |
any additional parameter to be passed to the text plotting. All R base graphics params are passed along. |
Given a KaryoPlot object and a character string, plot the character strings as the main title of the plot. This function is usually automatically called by plotKaryotype unless.
invisibly returns the given karyoplot object
plotKaryotype, getMainTitleBoundingBox
kp <- plotKaryotype(labels.plotter = NULL) kpAddMainTitle(kp, col="red", srt=30)