Given a fish object containing layout information, draw the fish plot
fishPlot(fish, shape = "polygon", vlines = NULL, col.vline = "#FFFFFF99",
vlab = NULL, border = 0.5, col.border = "#777777", pad.left = 0.2,
ramp.angle = 0.5, title = NULL, title.btm = NULL, cex.title = NULL,
cex.vlab = 0.7, bg.type = "gradient", bg.col = c("bisque",
"darkgoldenrod1", "darkorange3"))
A fish object that contains layout information
The type of shape to construct the plot out of. The "spline" and "polygon" methods work well. "bezier" is more hit or miss
A vector of x positions at which to draw vertical lines
A color value for the vertical lines
A character vector containing labels for each of the vertical lines
A numeric width for the border line around this polygon
A color for the border line
The amount of "ramp-up" to the left of the first timepoint. Given as a fraction of the total plot width. Default 0.2
A numeric value between 0 and 1 that indicates how steeply the shape should expand from it's leftmost origin to the first measured point. Only used when shape="polygon".
A string for the title above the plot
A string for the title at the bottom left, internal to the plot
A numeric value for scaling the title size
A numeric value for scaling the top label size default is 0.7
A string giving the background type - either "gradient" (default) or "solid". Default is "gradient".
A string or vector of strings giving the background color. For type "solid", one color expected. For type "gradient", a vector of three colors is expected.
No return value, outputs on graphics device
# NOT RUN {
fishPlot(fish,shape="polygon",title.btm="633734",
vlines=c(0,150), vlab=c("day 0","day 150"), cex.title=0.5)
# }
Run the code above in your browser using DataLab