getDefaultPlotParams: getDefaultParameters

Description Usage Arguments Details Value See Also Examples

View source: R/getDefaultPlotParams.R

Description

Returns the default parameters for the given plot.type

Usage

1

Arguments

plot.type

(integer) the required plot type. can be any valid plot type (see plotKaryotype)

Details

Given a plot.type, this function returns a list suitable as a valid plot.params object. The user can then proceed to change the parameter values as needed and supply the modified list to the plotKaryotype function.#'

Value

A valid plot.params object with the default values for the plotting parameters and ready to be used in the plotKaryotype

See Also

plotKaryotype

Examples

1
2
3
4
5
6
7
8
9
pp <- getDefaultPlotParams(plot.type=2)
pp

#Change the ideogramheight param to create thicker ideograms 
pp$ideogramheight <- 150

plotKaryotype(genome="hg19", plot.type=2, plot.params=pp) 

 

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