Description Usage Arguments Author(s) Examples
plot features
1 2 3 4 5 |
x |
an object of type |
y |
the location of the plot on the y axis |
height |
the height of the boxes |
plottype |
either "r" for rectangles or "a" for arrows, "b" for arrows within rectangles, or "l" for line segments only. |
arrow.density |
If plottype=="a" or "b", then this gives the density
of arrows in arrows per inch. Otherwise it gives the density of
shading lines in the rectangles, and a value of |
angle |
angle (in degrees) of the shading lines or arrows. |
col |
color to draw the boxes/lines/arrows with. |
fill.col |
Color to fill the rectangles with. If |
lty |
line type for lines, arrows, borders, and shading |
lwd |
line width for lines, arrows, borders and shading |
add |
if |
xlim |
A numerical vector of length 2 giving the range for the x-axis. |
ylim |
A numerical vector of length 2 giving the range for the y-axis. |
... |
graphical parameters to be passed to |
Melissa J. Hubisz
1 2 3 4 5 6 7 | exampleArchive <- system.file("extdata", "examples.zip", package="rphast")
featFile <- "gencode.ENr334-100k.gff"
unzip(exampleArchive, featFile)
f <- read.feat(featFile)
# note that plot(f) does not work because features are stored as data.frames
plot.feat(f[f$feature=="CDS",])
unlink(featFile)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.