Hi, I'm trying to use STAligner to integrate Curioseeker slide-seq samples together. When running Cal_Spatial_Net, I run into the following error: AttributeError: 'numpy.ndarray' object has no attribute 'toarray'.
This seems to stem from this line of code Cal_Spatial_Net:
X = pd.DataFrame(adata.X.toarray()[:, ], index=adata.obs.index, columns=adata.var.index)
Is this an issue with how my data is formatted? Is there anything I can change to fix this error?
Hi, I'm trying to use STAligner to integrate Curioseeker slide-seq samples together. When running Cal_Spatial_Net, I run into the following error: AttributeError: 'numpy.ndarray' object has no attribute 'toarray'.
This seems to stem from this line of code Cal_Spatial_Net:
X = pd.DataFrame(adata.X.toarray()[:, ], index=adata.obs.index, columns=adata.var.index)
Is this an issue with how my data is formatted? Is there anything I can change to fix this error?