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