-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
question about batch #5
Comments
Hi, @Flu09! First of all, if you're more familiar with R, it's better to use the original Symphony: https://github.com/immunogenomics/symphony Secondly, you can explicitly put information about batches during label transfer using Overall Symphony performance on Seurat-corrected expressions wasn't benchmarked, so we can't say if it will give some meaningful results. |
I see thank you so much. I have this error. Do you have any suggestions?
|
Hi @Flu09! I'm so sorry that you are encountering this bug! What's the datatype of your sparse matrix adata_query.X in the example above? |
float 64 for both the reference and the samples. I think they need to be converted to float32 and the column of the celltype to catergory?
|
Eh, float64 seems to be OK, I was just hoping that it's connected this bug with np.float16: |
@Flu09 Don't you mind sharing the least subsample of data to reproduce the error? Probably it could be a couple of cells per dataset. |
Probably related to scverse/anndata#1349? |
I can try preparing some data to share. changing both reference and sample to float32 solved the previous issue. New error message below
|
@Flu09 I'm so sorry, could you please share a small subset of your data :( |
And the versions of anndata and scanpy packages which you are using |
Hello, I have 3 studies which I want to annotate using a built reference. I wonder if what I am doing is correct. I label transfered from the built reference for each dataset. I integrated the 3 studies by Seurat and harmony in R using seurat v5. but I started here in symphonypy from counts and followed the tutorial. Should I label transfer for the whole object and not one dataset at at time? would the batch corrected object help at all?
The text was updated successfully, but these errors were encountered: