sage.test {statmod} | R Documentation |
Compute a p-values for differential expression for each tag between two SAGE libraries.
sage.test(x, y, n1=sum(x), n2=sum(y))
x |
integer vector giving counts in first library |
y |
integer vector giving counts in second library |
n1 |
total number of tags in first library |
n2 |
total number of tags in second library |
This function uses a binomial approximation to the Fisher Exact test for each tag. This will be accurate when the total number of tags is large.
Numeric vector of p-values.
Gordon Smyth
sage.test(c(0,5,10),c(0,30,50),n1=10000,n2=15000)