SpatialDM icon indicating copy to clipboard operation
SpatialDM copied to clipboard

Spatial direct messaging detected by bivariate Moran

Results 10 SpatialDM issues
Sort by recently updated
recently updated
newest added

I ran the 'Spatial Clustering of Local Spots' step using the following code: ```python from threadpoolctl import threadpool_limits with threadpool_limits(limits=10, user_api='blas'): results = SpatialDE.run(adata.obsm['spatial'], bin_spots.transpose()) histology_results, patterns = SpatialDE.aeh.spatial_patterns( adata.obsm['spatial'],...

Hi, I met a bug when inferring cci in image-based spatial data: ``` sdm.weight_matrix(adata, l=1.2, cutoff=0.2, single_cell=True) # weight_matrix by rbf kernel ``` ![image](https://github.com/StatBiomed/SpatialDM/assets/43333475/7e39043c-455a-4c83-8746-fe60c1088eab) Could you please take a look?...

I encountered an error when running sdm.extract_lr(adata, 'human', min_cell=3), following is the detailed issue: ``` sdm.weight_matrix(adata, l=1.2, cutoff=0.2, single_cell=False) # weight_matrix by rbf kernel ----> 3 sdm.extract_lr(adata, 'human', min_cell=3) #...

Thank you for creating such a wonderful software! I immediately installed SpatialDM and tried running melanoma.ipynb, but I got an error. https://github.com/StatBiomed/SpatialDM/blob/main/tutorial/melanoma.ipynb Here is the code cell where the error...

Hi, I followed the spatial dm example but I keep getting errors when running spatialdm_local. Below is the code I am running. ``` start = time.time() sdm.spatialdm_local(adata, n_perm=1000, method='both', specified_ind=None,...

Hi, Great paper and package. Thanks alot for making the code open source. I am trying to simulate the dataset for benchmarking cell-cell interaction tools following the Figure 1 f,g,h...

Hi. I'm trying to read in a h5ad file which was generated from seurat R package. I am using this function: adata = sdm.read_spatialdm_h5ad(filename), but I get KeyError: 'geneInter'. Is...

To avoid 'np.float' Deprecation Error in melanoma.ipynb https://github.com/StatBiomed/SpatialDM/issues/20

Hi, I am wondering why there are two parameters for nearest neighbours in weight matrix calculation. https://github.com/StatBiomed/SpatialDM/blob/aa1762496437a45787314a27e88313bdec6287c0/spatialdm/main.py#L34 It seems to me that there is no need for both or am...

Hi I found out there's a bug in spatialdm_global https://github.com/StatBiomed/SpatialDM/blob/aa1762496437a45787314a27e88313bdec6287c0/spatialdm/main.py#L155 For example, if there are 400 lr pairs after `extract_lr`, one select 10 pairs for computation. User cannot specify specified_ind...