Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/differential.probs.R
Returns probabilities of differential expression for genes under perturbation of a set of regulators. Takes as input perturbation data and beliefs about known genes.
1 | differential.probs(data, beliefs, verbose, plot.it)
|
data |
A matrix of log expression ratios perrturbation vs control, for the genes (rows), in the perturbations of the regulators (columns). The data has to have row and colnames specified by the user. |
beliefs |
A list with names being a subset of the regulators (i.e., the names of |
verbose |
When TRUE, for each regulator and its perturbation data, the execution prints out the parameters of the fitted model(s), indicating which components are differential and which are unchanged. |
plot.it |
When TRUE, for each regulator and its perturbation data, the execution plots the Gaussian components of the fitted model(s), indicating which components are differential and which are unchanged. |
For each regulator, a belief-based mixture model is fitted to the observations in the data
. The fitted models have the number of model components equal to the number of columns in the corresponding beliefs.
If no beliefs are given, unsupervised two-component mixture modeling is applied.
A matrix with columns for the regulators, rows for the genes, and entries giving the signed probabilities of differential expression.
Ewa Szczurek
http://joda.molgen.mpg.de
regulation.scores
, deregulation.scores
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
data(damage)
# Get the probabilities of differential expression
# for the knockout of p53 in healthy cells
probs.healthy.p53= differential.probs(data.healthy[,"p53",FALSE],
beliefs.healthy["p53"], TRUE,TRUE)
# Get the probabilities of differential expression
# for the knockout of Ste12 under pheromone treatment
library(bgmm)
data(Ste12)
data=as.matrix(Ste12Data)
colnames(data)="Ste12"
beliefs=list(Ste12=Ste12Beliefs)
diff.p=differential.probs(data,beliefs,TRUE,TRUE)
## Not run:
probs.healthy= differential.probs(data.healthy, beliefs.healthy, TRUE,TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.