Skip to content

Commit d33ca29

Browse files
author
Renaud
committed
Fixed issue in fitEdgeR: now load and attach edgeR
1 parent 0b04a33 commit d33ca29

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

R/analysis.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ bseqsc_csdiff <- function(formula, data = NULL, ...){
169169
#' @importFrom edgeR DGEList calcNormFactors estimateDisp glmQLFit glmQLFTest topTags
170170
#' @export
171171
fitEdgeR <- function(x, formula, coef){
172+
qlibrary('edgeR') # this is required for subsetting happening in glmQLFTest to work
172173
design <- model.matrix(formula, data = pData(x))
173174
esetA <- x[, rownames(design)]
174175
y <- DGEList(counts = exprs(esetA), genes = fData(esetA))

0 commit comments

Comments
 (0)