oddsratio.stats.Rd
The data consists of case-control pairs. The pair of counts per pair and gene are compared by testing if the proportion of cases is equal to the proportion of the sample using the sizes of library (binomTest). It is assumed given (constant) the total count per pair and gene. The odds-ratio is returned
oddsratio.stats(x, y)
x | Count matrix |
---|---|
y | Design matrix (nrow(y) == ncol(x)). First column |
A matrix
where each row corresponds with the different expression
statistics of the corresponding row of x
for the common design given
by y