-
Notifications
You must be signed in to change notification settings - Fork 27
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
Aggregation of expression data ends up in matrix filled with NaN's #57
Comments
Can you double check for me what the output of |
Hi, I am running into the same problem with running SEACells, I want to use the seacells soft assignment, but indeed get the NaN output even though the data looks normal to me. |
With my code, the result you requested with: SEACell_ad = SEACells.core.summarize_by_SEACell(ad, SEACells_label='SEACell', summarize_layer='raw') looks like this: Hopefully this gives you the information you need to help me out. Kind regards, |
Hello, I had the same problem recently, did you solve it? Is there any good way, thanks for the reply. |
Sadly not |
Dear SEACell team,
first of all thank you for such an interesting and versatile tool.
I have been recently using it for creating metacells from a scRNA-seq dataset with cells coming from different studies and in turn from different patients.
I wanted to try to repeat the workflow shown for the COVID dataset integration, but I am still at the first round of metacells.
I am running the basic pipeline shown in notebooks/SEACell_computation.ipynb iteratively across the samples, and I am using the soft assignment for binning the cells.
Everything seems to run smoothly, except for some samples which have no apparent difference (in data) from the other ones. In those cases, the expression matrix of the metacell (X slot) is completely filled with NaN's, even though the X slot of the starting anndata object, the anndata layer used for aggregation, and the X_pca are not.
This is an example:
adata.X.toarray() :
adata.layers['norm_counts'].toarray() :
adata.obsm['X_pca'] :
whereas this the output of metacell.X.toarray() :
I have also inspected the figures produced in the workflow, but none of them looks abnormal based on my understanding (should I pay attention to one of them specifically in this case? If so, what should I look at?)
Finally, this is the code I have used for producing the metacell object:
Thank you for any help or suggestions you can provide!
Vittorio
The text was updated successfully, but these errors were encountered: