dtsoucas / DWLS

Gene expression deconvolution using dampened weighted least squares

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error in solveDampenedWLS()

RK1912 opened this issue · comments

commented

Hi

I am using raw count data from single cell RNA-seq and bulk RNA-seq.
I am currently stuck at running the deconvolution function solveDampenedWLS().
I get the error :

Error in solve.QP(D, d, A, bzero) :
  matrix D in quadratic function is not positive definite!

I tried to solve this using nearPD() to get the nearest positive definite matrix for the data , but I still get the same error.

Can you suggest a way I can fix this issue?

Thanks a lot!

Hi

I am using raw count data from single cell RNA-seq and bulk RNA-seq.
I am currently stuck at running the deconvolution function solveDampenedWLS().
I get the error :

Error in solve.QP(D, d, A, bzero) :
  matrix D in quadratic function is not positive definite!

I tried to solve this using nearPD() to get the nearest positive definite matrix for the data , but I still get the same error.

Can you suggest a way I can fix this issue?

Thanks a lot!

Hello,

I ran into the same error. Did you find any solution to that? Thanks

Hi,
I solved this issue using

solution<-solve.QP(D,d,A,bzero, factorized = TRUE)$solution

instead of

# solution<-solve.QP(D,d,A,bzero)$solution

Best