Description Usage Arguments Details Value Author(s) Examples
Plot single chromosome with cytobands.
1 2 3 4 5 6 7 8 9 10 | plotIdeogram(obj, subchr = NULL, zoom.region = NULL, which = NULL, xlab, ylab, main, xlabel =
FALSE, color = "red", fill = "red", alpha = 0.7,
zoom.offset = 0.2, size = 1,
cytobands = TRUE, aspect.ratio = 1/20, genome)
## constructor
Ideogram(obj, subchr = NULL, which = NULL, xlabel = FALSE,
cytobands = TRUE, color = "red", fill = "red", alpha =
0.7, zoom.region = NULL, zoom.offset = 0.2, size = 1,
aspect.ratio = 1/20, ..., genome)
|
obj |
A |
subchr |
A single character of chromosome names to show. |
which |
|
zoom.region |
A numeric vector of length 2 indicating zoomed region. |
xlab |
Label for x |
ylab |
Label for y |
main |
Title for plot. |
xlabel |
A logical value. Show the x label or not. |
color |
color for highlight region. |
fill |
fill color for highlight region. |
alpha |
alpha for highlight regio. |
zoom.offset |
zoomed highlights region offset around chromosome plotting region. |
size |
size for zoomed region rectangle boundary. |
cytobands |
If FALSE, plot just blank chromosome without cytobands. default is TRUE. es |
aspect.ratio |
aspect ratio for the chromosome ideogram plot, default is NULL. |
genome |
genome character passed to |
... |
passed to ggbio constructor. |
User could provide the whole ideogram and use subchr to point to particular chromosome.
A ggplot
object.
Tengfei Yin
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.