getDefaultPlotParams: getDefaultParameters

View source: R/getDefaultPlotParams.R

getDefaultPlotParamsR Documentation

getDefaultParameters

Description

Returns the default parameters for the given plot.type

Usage

getDefaultPlotParams(plot.type)

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


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) 

 

bernatgel/karyoploteR documentation built on Feb. 1, 2024, 11:48 p.m.