Learn R Programming

rphast (version 1.6.9)

plot.track: Make browser-like plot in rphast

Description

Make browser-like plot in rphast

Usage

# S3 method for track
plot(x, doLabels = TRUE, cex.axis = 1, cex.labels = 1,
  cex.shortLabels = 0.75, relWigSize = 5, relMsaSize = 5, xlim = NULL,
  xlab = "coord", ylab = "", blankSpace = 0.25, axisDigits = 3,
  labelSpace = min(length(x) * 0.05, 0.25), belowLabelSpace = 0.2,
  lmar = 4, ...)

Arguments

x

a list of tracks, created by the as.track.wig or as.track.feat

doLabels

Logical. Whether to plot the label above each plot. Will be recycled to the length of x. Does not affect printing of shortLabels.

cex.axis

The character expansion factor for axis annotations.

cex.labels

The character expansion factor for the labels

cex.shortLabels

The character expansion factor for the shortLabels

relWigSize

The relative size of wig plots compared to feature plots

relMsaSize

The relative size of msa plots compared to feature plots

xlim

The range of the x coordinate to be plotted. If NULL (the default), will use the entire range represented in the resultList.

xlab

The label for the x axis

ylab

The label for the y axis

blankSpace

The amount of vertical blank space between each plot. This should be a single numeric value between 0 and 1, representing the total fraction of the plot occupied by blank space.

axisDigits

The number of digits to use on the y-axis for wig plots.

labelSpace

The total fraction of vertical space given to plot labels.

belowLabelSpace

The amount of space between a label and the plot it corresponds to, in fractions of a character width.

lmar

The size of the left margin (in number of lines)

...

Other options to be passed to plot. See par.

labels

Labels to appear directly above each plot.

See Also

plotPhast, which may be easier to use but less flexible