kpAddMainTitle {karyoploteR} | R Documentation

## kpAddMainTitle

### Description

Plots the chromosome names in the karyoplot

### Usage

    kpAddMainTitle(karyoplot, main=NULL, ...)

### Arguments

`karyoplot` | a `karyoplot` object returned by a call to `plotKaryotype`
`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.

### Details

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.

### Value

invisibly returns the given karyoplot object

### See Also

`plotKaryotype`, `getMainTitleBoundingBox`

### Examples

    kp <- plotKaryotype(labels.plotter = NULL)
    kpAddMainTitle(kp, col="red", srt=30)

[Package karyoploteR version 1.20.3 Index]