lsteuernagel / mapscvi

Map single cell expression data into a reference scvi latent space and reference umap using R and Seurat. Use included objects to map new data to HypoMap.
Other
1 stars 3 forks source link

Error running map_new_seurat_hypoMap #4

Closed CristinaRisu closed 11 months ago

CristinaRisu commented 1 year ago

Hi,

I'm trying to use the package to annotate my own dataset following the example, but I got the following error: image maybe I'm not applying something right, could you help me to fix it? Thank you !

lsteuernagel commented 1 year ago

Dear Christina,

This is caused by a file check for the model.pt file at the very start of the function. This file comes with the package, so should be there. I slightly modfied that check to hopefully ensure that it is correctly found if it exists. Maybe you could re-install the package and check if the error still occurs ?

If it does, please make sure that the path shown in the error really contains the model.pt file. Maybe something went wrong during the installation.

Best,

Lukas

CristinaRisu commented 11 months ago

Dear Lukas, After following your recommendations the error has been solved. Thank you very much for your help.

Best, Cristina