Closed ViriatoII closed 2 years ago
You can use sc.get.rank_genes_groups_df
to get a nice dataframe out of an AnnData
which has had rank_genes_groups
run on it. Something like sc.get.rank_genes_groups(adata, group="B cells")
.
In general, the scverse discourse is a better place to ask questions, since more people will be able to see it.
Thanks!
Quick question:
I can plot differentially expressed genes for a group of celltypes in a dataset, like this:
How can I access those genes for each celltype?
The data seems to be stored in
adata.uns['wilcoxon']
, but I have no idea how to extract that