-
Notifications
You must be signed in to change notification settings - Fork 615
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
Option to ignore "nan" with sc.pl.rank_genes_groups() and error while writing data to .h5ad #1651
Comments
Sort of separate but also, an error writing such data with Traceback:
|
This should be solved (albeit a bit differently) by #1529. There, you would pass the filters to the plotting functions. |
Thanks @ivirshup , that makes sense I think. For the 2nd issue (unable to write to h5ad) is actually a more important issue for me at least. I have frequently found that I cannot add dataframes in |
That's definitely out of date. This should work at the moment: import scanpy as sc
pbmc = sc.datasets.pbmc3k_processed()
pbmc.uns["obs"] = pbmc.obs.copy()
pbmc.write("tmp.h5ad") |
Right, but I still get the
|
Yes, that was a known issue when |
Hi, @ivirshup Have you fixed the problem? |
Tracked in scverse/anndata#1068 |
sc.tl.filter_rank_genes_groups()
replaces gene names with "nan" values, would be nice to be able to ignore these withsc.pl.rank_genes_groups()
and instead show the top n actual non-filtered genesMinimal code sample
Versions
The text was updated successfully, but these errors were encountered: