steverozen / mSigHdp

GNU General Public License v3.0
4 stars 1 forks source link

Single Sample Follow Up #7

Open azh05 opened 2 months ago

azh05 commented 2 months ago

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.

Screenshot 2024-08-29 at 2 47 42 PM

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!