Description Usage Arguments Value Examples
View source: R/CalculateSignificance.r
Calculates the p-value of a score given the hypothesis score and the distribution table, using either the quartic or the (faster) cubic algorithm
1 2 3 | CalculateSignificance(hypothesisScore, predictionListStats,
experimentalResultStats, epsilon = 1e-05, useCubicAlgorithm = TRUE,
use1bAlgorithm = TRUE)
|
hypothesisScore |
score for a particular hypothesis |
predictionListStats |
numbers of predicted up-regulated, predicted down-regulated and ambiguous predictions predicted by the algorithm |
experimentalResultStats |
numbers of up-regulated, down-regulated and not significantly changed transcripts in the experimental data |
epsilon |
threshold that is used when calculating the p-value using the cubic algorithm |
useCubicAlgorithm |
use the cubic algorithm, defaults to TRUE |
use1bAlgorithm |
use the 1b version of the algorithm, defaults to TRUE used to calculate the p-value |
the resulting p-value
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.