caravagnalab / devil

devil

Home Page:https://caravagnalab.github.io/devil/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

matrixStats error in fit_devil

giorgiagandolfi opened this issue · comments

I am trying to run fit_devil function and I got this error:

> fit <- fit_devil(counts, design_matrix, overdispersion = T, size_factors = T, verbose = T, parallel = T)
Compute size factors
Error: [matrixStats (>= 1.2.0)] useNames = NA is defunct. Instead, specify either useNames = TRUE or useNames = FALSE. See also ?matrixStats::matrixStats.options

Any issue that gets opened should have minimum code to reproduce the error, otherwise it's very hard to fix it.

Please provide one.

As today, the solution is to either downgrade the matrixStats package using

remotes::install_version("matrixStats", version="1.1.0")

or by updating Bioconductor to the latest version.