Skip to content

Commit 9559211

Browse files
committed
be very explicit
1 parent 73a135c commit 9559211

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/CAGEfightR.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ setMethod("quickEnhancers", signature(object = "CAGEexp"), function(object) {
4242
assays(se) <- List(
4343
counts = as(as.matrix(as.data.frame(assays(se)$counts)), "dgCMatrix"),
4444
TPM = as(as.matrix(as.data.frame(assays(se)$normalizedTpmMatrix)), "dgCMatrix"))
45-
score(rowRanges(se)) <- rowSums(assays(se)$TPM)
45+
score(rowRanges(se)) <- Matrix::rowSums(assays(se)$TPM)
4646
enhancers <- quickEnhancers(se)
4747
c(enhancers = enhancers, object)
4848
})

0 commit comments

Comments
 (0)