aristoteleo / dynamo-release

Inclusive model of expression dynamics with conventional or metabolic labeling based scRNA-seq / multiomics, vector field reconstruction and differential geometry analyses
https://dynamo-release.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
409 stars 59 forks source link

gene names missing when using dyn.pl.highest_frac_genes #680

Open chansigit opened 1 month ago

chansigit commented 1 month ago

orient ='h' is ok but 'v' is problematic.

probably there should be get_xlim and get_xticks https://github.com/aristoteleo/dynamo-release/blob/2e7eb21b22c20e385853fbfb1a32aba745627e3f/dynamo/plot/preprocess.py#L936 and https://github.com/aristoteleo/dynamo-release/blob/2e7eb21b22c20e385853fbfb1a32aba745627e3f/dynamo/plot/preprocess.py#L937

dyn.pl.highest_frac_genes(adata, figsize=(6, 4),orient='v')

image

Sichao25 commented 1 month ago

Thank you very much for identifying this bug. We will fix this soon.