xuranw / MuSiC

Multi-subject Single Cell Deconvolution
https://github.com/xuranw/MuSiC
GNU General Public License v3.0
220 stars 83 forks source link

Error in solve.default(t(D.weight) %*% D.weight) : Lapack routine dgesv: system is exactly singular: U[2,2] = 0 #93

Open qnmateen opened 2 years ago

qnmateen commented 2 years ago

When running the command music_prop for instance.. Est.prop.bulk.annot = music_prop(bulk.eset = bulk.eset, sc.eset = sc.eset, clusters = 'Inferred.cell.type', samples="barcode", select.ct = pheno.m$Inferred.cell.type, verbose = T)

It is giving this error- Error in solve.default(t(D.weight) %*% D.weight) : Lapack routine dg Screenshot 2022-03-15 at 7 53 40 PM esv: system is exactly singular: U[2,2] = 0

pls, tell how to solve this. Thanks in advance