View source: R/getDefaultPlotParams.R
getDefaultPlotParams | R Documentation |
Returns the default parameters for the given plot.type
getDefaultPlotParams(plot.type)
plot.type |
(integer) the required plot type. can be any valid plot type (see |
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.#'
A valid plot.params
object with the default values for the plotting parameters and
ready to be used in the plotKaryotype
plotKaryotype
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.