Description Usage Arguments Value Author(s) Examples
This function calculates the ratio of True Positives to the sum of False Positives and False Negatives given a matrix of pvalues (one for each statistical test used) and a vector of ground truth (DE or nonDE). This function serves as a method evaluation helper.
1  calc.otr(truth, p, sig = 0.05)

truth 
the ground truth differential
expression vector. It should contain only
zero and nonzero elements, with zero denoting
nondifferentially expressed genes and nonzero,
differentially expressed genes. Such a vector
can be obtained for example by using the

p 
a pvalue matrix whose rows correspond
to each element in the 
sig 
a significance level (0 < 
A named list with two members. The first member is a data frame with the numbers used to calculate the TP/(FP+FN) ratio and the second member is the ratio TP/(FP+FN) for each statistical test.
Panagiotis Moulos
1 2 3 4 5 6 7 8 9 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.