I was testing out mSigHdp on a single sample, using a matrix as an input into input.catalog, and I ran into this error.
The error traceback indicates that it occurs in the GetInputCatalogAsMatrix function on the line 24:
non.pos <- which(colSums(input.catalog) <= 0)
I believe this error occurs because the input matrix is coerced into a one-dimensional vector, which breaks the colSums function. I saw that someone had previously posted an issue about this, and I was wondering how I could use mSigHdp on data with one sample.
Hi,
I was testing out mSigHdp on a single sample, using a matrix as an input into input.catalog, and I ran into this error.
The error traceback indicates that it occurs in the
GetInputCatalogAsMatrix
function on the line 24:non.pos <- which(colSums(input.catalog) <= 0)
I believe this error occurs because the input matrix is coerced into a one-dimensional vector, which breaks the colSums function. I saw that someone had previously posted an issue about this, and I was wondering how I could use mSigHdp on data with one sample.
Thanks!