It can happen that ashr estimates a prior with one mixture component only. In flashr, I am experimenting with warmstarts using the previous estimate. So ashr tries to pass a likelihood matrix with a single column to mixsqp and gets an error.
Error in verify.likelihood.matrix(L) : Input argument "L" should be a numeric matrix with >= 2 columns, all its entries should be non-negative, finite and not NA, and some entries should be positive
I think that if “L” has one column then mixsqp should just return the trivial solution.
It can happen that
ashr
estimates a prior with one mixture component only. Inflashr
, I am experimenting with warmstarts using the previous estimate. Soashr
tries to pass a likelihood matrix with a single column tomixsqp
and gets an error.Error in verify.likelihood.matrix(L) : Input argument "L" should be a numeric matrix with >= 2 columns, all its entries should be non-negative, finite and not NA, and some entries should be positive
I think that if “L” has one column then
mixsqp
should just return the trivial solution.