ndcn / soda-ndcn

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

Discriminant analysis bug #121

Closed dolivierj closed 1 year ago

dolivierj commented 1 year ago

In some instances, discriminant analysis crashes the app because there are too few observations. Error message when running discriminant analysis on proteomics PCA:

Warning in lognet(xd, is.sparse, ix, jx, y, weights, offset, alpha, nobs, : one multinomial or binomial class has fewer than 8 observations; dangerous ground Warning: Error in lognet: one multinomial or binomial class has 1 or 0 observations; not allowed

dolivierj commented 1 year ago

Solved in some patch.