gpAddMainTitle: gpAddMainTitle

Description Usage Arguments Details Value See Also Examples

Description

Plots the main title of the plot

Usage

1
gpAddMainTitle(genoplot, main=NULL, ...)

Arguments

genoplot

a GenoPlot object returned by a call to plotGene

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 GenoPlot object and a character string, plot the character strings as the main title of the plot. This function is usually automatically called by plotGene.

Value

invisibly returns the given GenoPlot object

See Also

plotGene

Examples

1
2
gp <- plotGene(exons=c("chr1:100-200", "chr2:300-350"))
gpAddMainTitle(gp, main="EXAMPLE", col="red", srt=30)

bernatgel/genoploteR documentation built on May 13, 2019, 5:22 p.m.