plot(x, y, ...)
Gsri
containing the results to plot.x
contains the
results of several gene sets. An integer is interpreted as the index
of the gene set (i.e. the row number), while a character is matched
against the names of the gene sets. The plot
method uses a special system in order to customize the
graphical elements of the figure. It allows to refer to the different
components with the name of the additional input argument; its value
is a list containing named graphical parameters for the underlying
plot function. The following list describes the possible names and
their contribution.
plot
plot
function.
fit
lines
function.
ecdf
lines
function.
reg
lines
function.
regText
reg
, passed to
the text
function.
gsri
lines
function.
gsriText
gsri
, passed to
the text
function.
Thus, changing for example the limit of the y-axis, the plot type and color of the ECDF, and the label of the x-axis, you can use:
plot(x, plot=list(ylim=c(0, 0.8), xlab=expression(p)),
ecdf=list(type="s", col="darkgreen"))
For more details, please see the examples section.
GSRI-package
Class:
Gsri
Methods:
gsri
getGsri
getCdf
getParms
export
sortGsri
plot
show
summary
readCls
readGct
## Not run:
# plot(x)
#
# plot(x, plot=list(main="Example plot"), ecdf=list(pch=21),
# fit=list(lty=2, lwd=0.5, col="black"), gsri=list(col="lightblue"))
#
# plot(x2, 2)
# plot(x2, "gs2")
# ## End(Not run)
Run the code above in your browser using DataLab