Description Usage Arguments Value References Examples
View source: R/CalculateSignificanceUsingQuarticAlgorithm.r
Computes the significance of a given hypothesis. For a detailed description of the algorithm see Causal reasoning on biological networks: interpreting transcriptional changes - Chindelevitch et al., section 2. from which the methods and notation is taken.
1 2 | CalculateSignificanceUsingQuarticAlgorithm(hypothesisScore, predictionListStats,
experimentalDataStats)
|
hypothesisScore |
the score for which a p-value is required |
predictionListStats |
a vector containing the values q+, q- and q0 (the number of positive/negative/non-significant or contradictory) predictions) |
experimentalDataStats |
a vector containing the values n+, n- and n0 (the number of positive/negative/non-significant (or contradictory) transcripts in the results) (or contradictory) transcripts in the results) |
the corresponding p-value
L Chindelevitch et al. Causal reasoning on biological networks: Interpreting transcriptional changes. Bioinformatics, 28(8):1114-21, 2012.
1 2 3 4 5 6 7 | CalculateSignificance(5, c(7,4,19), c(6,6,18))
CalculateSignificance(5, c(7,4,19), c(6,6,18), useCubicAlgorithm=TRUE)
CalculateSignificanceUsingQuarticAlgorithm(5, c(7,4,19), c(6,6,18))
CalculateSignificance(5, c(7,4,19), c(6,6,18), useCubicAlgorithm=FALSE)
CalculateSignificance(5, c(7,4,19), c(6,6,18), 1e-5)
CalculateSignificance(5, c(7,4,19), c(6,6,18), epsilon=1e-5, useCubicAlgorithm=TRUE)
CalculateSignificanceUsingCubicAlgorithm(5, c(7,4,19), c(6,6,18), 1e-5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.