zktuong / ktplotspy

Python library for plotting Cellphonedb results. Ported from ktplots R package.
https://ktplotspy.readthedocs.io/
MIT License
46 stars 12 forks source link

fix the output table #25

Closed zktuong closed 1 year ago

zktuong commented 1 year ago

So now the output table in return_tables=True gives the same layout as per the plot, particularly for symmetrical=False situation. Also rearranged the construction of the interaction_count output to be consistent with the options.

Also updated readme to give an indication for how to save the figures.

closes #22

review-notebook-app[bot] commented 1 year ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

codecov[bot] commented 1 year ago

Codecov Report

Merging #25 (add8930) into master (dfb2f1b) will decrease coverage by 0.54%. The diff coverage is 33.33%.

@@            Coverage Diff             @@
##           master      #25      +/-   ##
==========================================
- Coverage   99.82%   99.28%   -0.54%     
==========================================
  Files           7        7              
  Lines         558      560       +2     
==========================================
- Hits          557      556       -1     
- Misses          1        4       +3     
Flag Coverage Δ
unittests 99.28% <33.33%> (-0.54%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
ktplotspy/plot/plot_cpdb_heatmap.py 91.66% <33.33%> (-6.16%) :arrow_down: