**20**wrote:

Hi,

After updating to bioconductor 3.8, I have some troubles using p.vector. The command and error are:

> fit <- p.vector(edgeR_cpm_matrix, design, Q = 0.05, MT.adjust = "BH", counts=TRUE, family= negative.binomial(10));

Error in negative.binomial(10) :

could not find function "negative.binomial"

I can also reproduce the error with (R 3.5.0):

> library(maSigPro)

> negative.binomial(10)

Error in negative.binomial(10) :

could not find function "negative.binomial"

However ?negative.binomial works. Any idea?

Thanks

It looks like that function is from the MASS package. You could loading the MASS library before running.

1.7k