View source: R/kpAddMainTitle.R
kpAddMainTitle | 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.