rdong08 / spatialDWLS_dataset

code and dataset for spatialDWLS
12 stars 8 forks source link

A problem in runDWLSDeconv for Slide-seqV2 #9

Open lzygenomics opened 1 year ago

lzygenomics commented 1 year ago

Hi~

Thanks for your nice work ! When I try a big dataset (more than 40000 spots, based on Slide-seqV2 tech.), I occur a bug in "runDWLSDeconv" step : Error in eigen(if (doDykstra) R else Y, symmetric = TRUE) : infinite or missing values in 'x'. (I use the code totally same as you provided, and it works in other datasets which based on coarser resolution. )

But I check the st data and Sig_exp in this dataset, there are no NA in them. Is this problem due to the SpatialDWLS is mainly design for coarser resolution spatial data which has less spot number~?

Best