Test the equality of concentration matrices in two experimental conditions for all cliques of a pathway
clique.var.test(y1,y2,dag,alpha)
the observed value of the significance level.
the list of cliques where the test is performed.
logical, a vector with a TRUE for a significant clique and a FALSE otherwise.
the observed value of the statistic.
the triangulated and moral graphs.
a matrix with n1 individuals (rows) in the first experimental condition and p genes (columns).
a matrix with n2 individuals (rows) in the second experimental condition and p genes (columns). The genes in the two experimental conditions must be the same.
graphNEL object, a directed acyclic graph (DAG) corresponding to the pathway of interest. See package gRbase
for more details.
significance level of the test.
M. Sofia Massa, Gabriele Sales
The function tests the equality of the concentration matrices of each clique of a pathway in two experimental conditions. The graph of a pathway is first converted into a DAG, then the moral graph is obtained and if the latter graph is decomposable then the test is performed on all its cliques. If the moral graph is not decomposable, its triangulated version is obtained and then the test is performed on all its cliques.
The expression data may contain some genes differing from those in the pathway: in such case the function automatically takes the intersection between the two gene sets.
This function requires gRBase
and qpgraph
packages.
Massa, M.S., Chiogna, M., Romualdi, C. (2010). Gene set analysis exploiting the topology of a pathway. BMC Systems Biology, 4:121 https://bmcsystbiol.biomedcentral.com/articles/10.1186/1752-0509-4-121
pathway.var.test
, pathway.mean.test
,
clique.mean.test
,
data(examples)
clique.var.test(y1, y2, dag_bcell, 0.05)
Run the code above in your browser using DataLab