Learn R Programming

timecourse (version 1.44.0)

plotProfile: Gene Temporal Profile Plot

Description

Plots the longitudinal temporal profile of a gene.

Usage

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,...)

Arguments

object
a MArrayTC object.
stats
a character indicating which statistic the ranking is based on.
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 object$M.
desc
an optional character vector with the $i_th$ element corresponds to the gene description of the $i_th$ gene in object$M.
type
a character indicating the plot type, "p" for points, "l" for lines, and "b" for both.
col
a character or numeric vector giving the colors for different biological conditions. Default is 2:100.
lty
a character or numeric vector giving the line types for different replicates. Default is 1:100.
pch
a character or numeric vector giving the point types for different replicates. Default is 1:100.
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 plot

Details

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.