Description Usage Arguments Methods Note Author(s) See Also Examples
Produces a plot to show the influence of individual genes on the test result produced by GlobalAncova
.
There are three possible ways of using GlobalAncova
.
Also Plot.genes
can be invoked with these three alternatives.
1 2 3 4 5 6 7 8 9 | ## S4 method for signature 'matrix,formula,formula,ANY,missing,missing,missing'
Plot.genes(xx, formula.full, formula.red, model.dat, group, covars = NULL,test.terms,test.genes, Colorgroup = NULL, legendpos = "topright", returnValues = FALSE, bar.names, ...)
## S4 method for signature
## 'matrix,formula,missing,ANY,missing,missing,character'
Plot.genes(xx, formula.full, formula.red, model.dat, group, covars = NULL,test.terms,test.genes, Colorgroup = NULL, legendpos = "topright", returnValues = FALSE, bar.names, ...)
## S4 method for signature 'matrix,missing,missing,missing,ANY,ANY,missing'
Plot.genes(xx,formula.full, formula.red, model.dat, group, covars = NULL,test.terms,test.genes, Colorgroup = NULL, legendpos = "topright", returnValues = FALSE, bar.names, ...)
|
xx |
Matrix of gene expression data, where columns correspond to samples
and rows to genes. The data should be properly normalized beforehand
(and log- or otherwise transformed). Missing values are not allowed.
Gene and sample names can be included as the row and column
names of |
formula.full |
Model formula for the full model. |
formula.red |
Model formula for the reduced model (that does not contain the terms of interest.) |
model.dat |
Data frame that contains all the variable information for each sample. |
group |
Vector with the group membership information. |
covars |
Vector or matrix which contains the covariate information for each sample. |
test.terms |
Character vector that contains names of the terms of interest. |
test.genes |
Vector of gene names or gene indices specifying the gene set. If missing, the plot refers to all genes in |
Colorgroup |
Character variable giving the group that specifies coloring.
If the function is called using the argument |
legendpos |
Position of the legend (a single keyword from the list '"bottomright"', '"bottom"', '"bottomleft"', '"left"', '"topleft"', '"top"', '"topright"', '"right"' and '"center"'). |
returnValues |
Shall bar heights (gene-wise reduction in sum of squares) be returned? |
bar.names |
Vector of bar labels. If missing, gene names from |
... |
Graphical parameters for specifying colors, titles etc. |
In this method, besides the expression matrix xx
, model formulas for the full
and reduced model and a data frame model.dat
specifying corresponding model
terms have to be given. Terms that are included in the full but not in the reduced
model are those whose association with differential expression will be tested.
The arguments group
, covars
and test.terms
are '"missing"'
since they are not needed for this method.
In this method, besides the expression matrix xx
, a model formula for the full
model and a data frame model.dat
specifying corresponding model
terms are required. The character argument test.terms
names the terms of interest
whose association with differential expression will be tested.
The arguments formula.red
, group
and covars
are '"missing"'
since they are not needed for this method.
Besides the expression matrix xx
a clinical variable group
is
required. Covariate adjustment is possible via the argument covars
but
more complex models have to be specified with the methods described above.
This method emulates the function call in the first version of the package.
The arguments formula.full
, formula.red
, model.dat
and
test.terms
are '"missing"' since they are not needed for this method.
This work was supported by the NGFN project 01 GR 0459, BMBF, Germany.
Reinhard Meister meister@tfh-berlin.de
Ulrich Mansmann mansmann@ibe.med.uni-muenchen.de
Manuela Hummel m.hummel@dkfz.de
GlobalAncova
, Plot.subjects
, Plot.sequential
1 2 3 4 5 6 7 | data(vantVeer)
data(phenodata)
data(pathways)
Plot.genes(xx = vantVeer, formula.full = ~metastases + ERstatus, formula.red = ~ERstatus, model.dat = phenodata, test.genes = pathways[[3]], colorgroup = "metastases")
Plot.genes(xx = vantVeer, formula.full = ~metastases + ERstatus, test.terms = "metastases", model.dat = phenodata, test.genes = pathways[[3]], colorgroup = "metastases")
Plot.genes(xx = vantVeer, group = phenodata$metastases, covars = phenodata$ERstatus, test.genes = pathways[[3]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.