Closed anderswe closed 1 year ago
Hi, thank you for using MultiVelo.
I'm not familiar with this error. It's strange that Pandas has something to do with the embed_coord
object since it should usually be a NumPy array.
Can you make sure X_umap
is present in the rna.obsm
field. You can try print it out with print(rna.obsm["X_umap"])
and see if it is just a NumPy array.
Also, which version of MultiVelo are you using? You can check with print(mv.__version__)
. Thanks.
That fixed it, thank you!
For anyone else who runs into this issue as well, it's because I imported UMAP embeddings from a Seurat/Signac-processed object into a Pandas DataFrame...then assigned that DataFrame directly to rna.obsm["X_umap"]
instead of converting to a NumPy array with rna.obsm["X_umap"] = rna.obsm["X_umap"].to_numpy()
first.
Hi MultiVelo team,
Super grateful for your work. Excited to run MultiVelo on some in-house 10X multiome data.
I am running into the following error working from the terminal / HPC, and would appreciate your help.
I'm mostly an R user - not sure how to go about debugging this. The error—and similar issues on Stack Overflow—make me think there's a numpy array / pandas dataframe mixup somewhere.
Thanks!