View source: R/kpAddChromosomeSeparators.R
kpAddChromosomeSeparators | R Documentation |
Plots between the chromosomes
kpAddChromosomeSeparators(karyoplot, col="gray", lty=3, data.panel="all", ...)
karyoplot |
a |
col |
(color) The color of the separator lines (defaults to "gray") |
lty |
(integer) The line type of the separators (defaults to 3, dashed lines) |
data.panel |
(data panel specification) For vertical lines, the span of the separator lines. Ignored for horizontal lines. (defaults to "all") |
... |
any additional parameter to be passed to the text plotting. All R base graphics params are passed along. |
Depending on the plot type it will draw vertical lines (if all chromosomes are in a one line (3,4,5,7)) or horizontal lines (1,2,6)
By default the lines will occupy the whole chromsome extent (data.panel="all")
but using the data.panel
parameter it can be tuned.
invisibly returns the given karyoplot object
plotKaryotype
kp <- plotKaryotype(plot.type=4)
kpAddChromosomeSeparators(kp)
kp <- plotKaryotype(plot.type=5, ideogram.plotter=NULL)
kpAddChromosomeSeparators(kp)
kp <- plotKaryotype(plot.type=2)
kpAddChromosomeSeparators(kp, col="red")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.