plot.gene: Gene plot

Description Usage Arguments Author(s) Examples

Description

make gene plot

Usage

1
2
3
4
## S3 method for class 'gene'
plot(x, y = 0, height = 1, arrow.density = 5, angle = 30,
  col = "black", lty = par("lty"), lwd = par("lwd"), add = FALSE,
  xlim = range.feat(x), ylim = c(y - height * 3/4, y + height * 3/4), ...)

Arguments

x

An object of type feat

y

the location of the plot on the y axis

height

the height of the boxes

arrow.density

The density of the arrows in arrows per inch

angle

angle (in degrees) of the arrow heads

col

color to use for plotting

lty

line type for arrows, borders, and shading

lwd

line width for arrows, borders and shading

add

if TRUE, add to existing plot

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 plot.

Author(s)

Melissa J. Hubisz

Examples

1
2
3
4
5
6
7
8
exampleArchive <- system.file("extdata", "examples.zip", package="rphast")
featFile <- "sol1.gp"
unzip(exampleArchive, featFile)
f <- read.feat(featFile)
plot.gene(f)
plot.gene(f, xlim=c(0, 10000))  #zoom in

unlink(featFile)


Search within the rphast package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.