DEGraph {ToPASeq} | R Documentation

## Differential Expression of Graph (DEGraph)

### Description

DEGraph implements recent hypothesis testing methods which directly assess whether a particular gene network is differentially expressed between two conditions. In employs Graph Laplacian, Fourier transformation and multivariate T2-statistic

### Usage

    DEGraph(x, group, pathways, type, which = "proteins", edgeType = NULL,
      preparePaths = TRUE, norm.method = NULL, test.method = NULL,
      overall = "biggest", useInteractionSigns = TRUE, EdgeAttrs = NULL,
      both.directions = TRUE, maxNodes = 150, minEdges = 0,
      commonTh = 2, filterSPIA = FALSE, convertTo = "none",
      convertBy = NULL)

### Arguments

`x` | An `ExpressionSet` object or a gene expression data matrix or count matrix, rows refer to genes, columns to samples
`group` | Name or number of the phenoData column or a character vector or factor that contains required class assigments
`pathways` | A list of pathways in a form from `graphite` package or created by `preparePathways()`
`type` | Type of the input data, `"MA"` for microarray and `"RNASeq"` for RNA-Seq
`which` | Character, which type of nodes is preserved in a pathway. Possible values are `"proteins"`,`"metabolites"`,`"mixed"`
`edgeType` | Character, which type of edges is preserved in a pathway. If `NULL`, all edges are kept.
`preparePaths` | Logical, by default the pathways are transformed with `preparePathways()`. Use `FALSE`, if you have done this transformation separately
`norm.method` | Character, the method to normalize RNAseq data. If `NULL` then vst-normalization is performed. Possible values are: `"edgeR", "vst", "rLog", "none"`
`test.method` | Character, the method for differentiall expression analysis of RNAseq data. If `NULL` then `"voomlimma"` is used. Possible values are: `"DESeq2", "voomlimma", "vstlimma", "edgeR"`. This analysis is needed only for the visualization.
`overall` | Character, how should the overall p-value for a pathway be calculated. The possible values are: "mean", "min", "biggest". "biggest" returns the p-value of the biggest connected component.
`useInteractionSigns` | Logical, should types of interaction be included in the analysis?
`EdgeAttrs` | A list containing two data.frames. See `edgeData` for the details. The interactions are assigned signs according to the `beta` column of the second data.frame.
`both.directions, maxNodes, minEdges, commonTh, filterSPIA, convertTo, convertBy` | Arguments for the `preparePathways()`

### Value

A list:

`res` | Results from analysis of individual pathways. The first column refers to the overall p-value for a pathway. Then groups of four columns follows. One group refers to one connected component and contains a pair of p-values (without and with Fourier transformation), graph and number of Fourier componets used in the test. The number of groups is equal to the highest number of components in analysed pathways. Components are sorted in the decreasing order of their nodes number.
`topo.sig` | `NULL`, present for the compatibility with outputs from other methods
`degtest` | A data.frame of gene-level statistics of all genes in the dataset

A list:

### Author(s)

Ivana Ihnatova

### References

L. Jacob, P. Neuvial, and S. Dudoit. Gains in power from structured two-sample tests of means on graphs. Technical Report arXiv:q-bio/1009.5173v1, arXiv, 2010.

### Examples

    if (require(breastCancerVDX)) {
    data("vdx")
    pathways<-pathways("hsapiens","biocarta")[1:3]
    MAdata<-Biobase::exprs(vdx)[,1:10]
    rownames(MAdata)<-Biobase::fData(vdx)[,"Gene.symbol"]
    MAdata<-MAdata[!duplicated(rownames(MAdata)),]

    DEGraph(MAdata, Biobase::pData(vdx)[,"er"][1:10], pathways, type="MA", convertTo="SYMBOL")
    }

[Package ToPASeq version 1.20.0 Index]