plotProfile {timecourse} | R Documentation |
Plots the longitudinal temporal profile of a gene.
plotProfile(object, stats=c("HotellingT2", "MB"), ranking=1, gid=NULL, gnames=NULL, desc=NULL, type=c("p","l","b"), col=2:100, lty=1:100, pch=1:100, lwd=2, xlab="Time", ylab="Expression", legloc=NULL, xlim=NULL, ylim=NULL, cex.main=1,...)
object |
a |
stats |
a character indicating which statistic the |
ranking |
a numeric value giving the ranking of the gene to be plotted. |
gid |
an optional character giving the ID of the gene to be plotted. |
gnames |
an optional character vector with the i_th element corresponds to the gene ID of the i_th gene in |
desc |
an optional character vector with the i_th element corresponds to the gene description of the i_th gene in |
type |
a character indicating the plot type, |
col |
a character or numeric vector giving the colors for different biological conditions. Default is |
lty |
a character or numeric vector giving the line types for different replicates. Default is |
pch |
a character or numeric vector giving the point types for different replicates. Default is |
lwd |
optional. The default sets to 2. |
xlab |
character. The label for the x-axis. |
ylab |
character. The label for the y-axis. |
legloc |
an optional vector giving the location of the legend. |
xlim |
an optional vector giving the upper- and lower- limits of x-axis. |
ylim |
an optional vector giving the upper- and lower- limits of y-axis. |
cex.main |
optional. The default sets to 1 |
... |
any other arguments passed onto |
This function takes an object of MArrayTC
as the input and plots
the temporal profile of a single gene. The user can specify either the
ranking based on stats
or the gene ID of the gene to be plotted.
See points
for possible values for pch
,
col
and cex
.
See mb.long
for examples.
Yu Chuan Tai yuchuan@stat.berkeley.edu