Make browser-like plot in rphast
# 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, ...)
a list of tracks, created by the as.track.wig or as.track.feat
Logical. Whether to plot the label above each plot. Will be recycled to the length of x. Does not affect printing of shortLabels.
The character expansion factor for axis annotations.
The character expansion factor for the labels
The character expansion factor for the shortLabels
The relative size of wig plots compared to feature plots
The relative size of msa plots compared to feature plots
The range of the x coordinate to be plotted. If NULL
(the default), will
use the entire range represented in the resultList.
The label for the x axis
The label for the y axis
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.
The number of digits to use on the y-axis for wig plots.
The total fraction of vertical space given to plot labels.
The amount of space between a label and the plot it corresponds to, in fractions of a character width.
The size of the left margin (in number of lines)
Other options to be passed to plot
. See par.
Labels to appear directly above each plot.
plotPhast
, which may be easier to use but less flexible