-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathfishPlot.Rd
67 lines (53 loc) · 2.21 KB
/
fishPlot.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/draw.R
\name{fishPlot}
\alias{fishPlot}
\title{Given a fish object containing layout information, draw the fish plot}
\usage{
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")
)
}
\arguments{
\item{fish}{A fish object that contains layout information}
\item{shape}{The type of shape to construct the plot out of. The "spline" and "polygon" methods work well. "bezier" is more hit or miss}
\item{vlines}{A vector of x positions at which to draw vertical lines}
\item{col.vline}{A color value for the vertical lines}
\item{vlab}{A character vector containing labels for each of the vertical lines}
\item{border}{A numeric width for the border line around this polygon}
\item{col.border}{A color for the border line}
\item{pad.left}{The amount of "ramp-up" to the left of the first timepoint. Given as a fraction of the total plot width. Default 0.2}
\item{ramp.angle}{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".}
\item{title}{A string for the title above the plot}
\item{title.btm}{A string for the title at the bottom left, internal to the plot}
\item{cex.title}{A numeric value for scaling the title size}
\item{cex.vlab}{A numeric value for scaling the top label size default is 0.7}
\item{bg.type}{A string giving the background type - either "gradient" (default) or "solid". Default is "gradient".}
\item{bg.col}{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.}
}
\value{
No return value, outputs on graphics device
}
\description{
Given a fish object containing layout information, draw the fish plot
}
\examples{
\dontrun{
fishPlot(fish,shape="polygon",title.btm="633734",
vlines=c(0,150), vlab=c("day 0","day 150"), cex.title=0.5)
}
}