Closed kewinds closed 7 months ago
Have you checked that your Test data has the exactly same dimension (number of genes) as your training data? If not, you might need to obtain the common genes for both.
The suggested fix worked. Apologies, I just saw the indicated checks further into the tutorial than I had reached. Maybe consider putting those in the beginning as well? Thanks again for this package!
Thank you so much for this resource! I was trying to apply to my own spatial dataset and ran everything successfully through cel.Fit_cord. However, when I ran cel.Predict_cord, I received the following error:
I'm new to Scanpy so maybe an issue with the way I prepared the anndata? Thanks for looking into this!