gillislab / pyMN

Python Implementation of MetaNeighbor scRNAseq Analysis Method
MIT License
8 stars 4 forks source link

Outputting plots? #4

Open esorlien opened 2 weeks ago

esorlien commented 2 weeks ago

Good morning gillislab

Thank you for publishing this great tool, it has been very useful in our cross-species analyses. Is it possible to add to MetaNeighborUS a way to save a high resolution output of the plots? Or do you have a good work around to output the plots?

Thank you, Erin Aboelnour, Postdoc- Univ. of Notre Dame

bharris12 commented 1 week ago

Hello, If you set the parameter in the plotting functions to show = False and then save the plot as a a variable, you can then use plt.savefig https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.savefig.html to save it in whatever format you would like.

Hope that is helpful

Ben