getDefaultPlotParams {karyoploteR} | R 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)

[Package karyoploteR version 1.20.3 Index]