You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I am using Giotto to analyse the transcriptome detected with Visium on 6 tissue sections, aiming to perform cell-type deconvolution with a single nuclei RNA seq dataset from two similar samples.
DWLS deconvolution works well when I'm analysing one tissue section individually, however to analyse all sections in parallel I joined the Giotto objects and performed Harmony integration.
All looks great until I run runDWLSDeconv, which starts for a while and then prints out the following message:
testcombo = runDWLSDeconv(gobject = testcombo,
sign_matrix = DWLS_matrix, cluster_column = "leiden_harmony")
Original error message:
matrix D in quadratic function is not positive definite!
Will try to fix error with Matrix::nearPD()
Error in Matrix::nearPD(D) : Matrix seems negative semi-definite
In addition: Warning message:
In asMethod(object) :
sparse->dense coercion: allocating vector of size 1.3 GiB
I'm using the same DWLS matrix that worked for the individual sample.
Do you know what the issue might be? I have seen this error popping up in other issues (#121, #170, #228) but couldn't find a solution there.
As an update, I have run runDWLSDeconv() on all the individual samples that make up my larger dataset. It ran fine on most samples, but in 5 of them (out of 20) I encountered the same error message printed above.
I then merged and integrated the sections that ran successfully repeated runDWLSDeconv on this larger dataset, but again I encountered the matrix D error message, even though the deconvolution on those individual datasets worked fine when run individually.
Hi! I am using Giotto to analyse the transcriptome detected with Visium on 6 tissue sections, aiming to perform cell-type deconvolution with a single nuclei RNA seq dataset from two similar samples.
DWLS deconvolution works well when I'm analysing one tissue section individually, however to analyse all sections in parallel I joined the Giotto objects and performed Harmony integration.
All looks great until I run runDWLSDeconv, which starts for a while and then prints out the following message:
I'm using the same DWLS matrix that worked for the individual sample.
Do you know what the issue might be? I have seen this error popping up in other issues (#121, #170, #228) but couldn't find a solution there.
Here's my session info:
The text was updated successfully, but these errors were encountered: