rope | R Documentation |
Fit a robust profile likelihood ratio test for a working Poisson log-linear model.
rope(datmat, X_model, x_PI_idx)
datmat |
A matrix of filtered RNA-seq counts. |
X_model |
A numerical design matrix contains DE experiment group (parameter of interest) and other covariates |
x_PI_idx |
An integer indicates the column index of the parameter of interest, usually the DE experiment group. |
A data frame with columns contain the DE result of log fold change, unadjusted and adjusted log likelihood ratio, adjustment factors, p-values and Benjamini & Hochberg adjusted p-values.
count <- matrix(rnbinom(n = 5e4, mu = 100, size = 1 / 0.5), ncol = 50)
mod <- model.matrix(~ gl(n = 2, k = 25))
res <- rope(datmat = count, X_model = mod, x_PI_idx = dim(mod)[2])
res
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.