kpAddMainTitle: kpAddMainTitle

Description Usage Arguments Details Value See Also Examples

View source: R/kpAddMainTitle.R

Description

Plots the chromosome names in the karyoplot

Usage

1
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

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

karyoploteR documentation built on Nov. 8, 2020, 5:52 p.m.