Learn R Programming

rphast (version 1.0)

gene.track: Create a gene track...

Description

Create a gene track

Usage

gene.track(x, name, short.label=NULL, col="black", arrow.density=10)

Arguments

x
An object of type feat
name
The name of the track (a character string)
short.label
An optional character string to be displayed in the left hand margin of the track
col
The color to use plotting this track
arrow.density
The number of lines per inch used to denote strand.

Value

  • An object of type track which can be plotted with the plot.track function

Details

This function expects a features object. The features which will be plotted are the ones with types "CDS", "exon", or "intron". All other features will be ignored.

See Also

addIntrons.feat to add intron annotations to a features object.