Entering edit mode
                    2.3 years ago
        dalibenam64
        
    
        •
    
    0
    Hello I'm trying to perform clustering on my data using scanpy.
I used this tutorial: https://github.com/mousepixels/sanbomics_scripts/blob/main/single_cell_analysis_complete_class.ipynb
My question is how I can store the plot generated using this command line in a file (png format for example):
sc.pl.umap(adata, color = ['leiden', 'Sample'], frameon = False)
Thank you
Easiest way is the save argument:
sc.pl.umap(adata, color=['leiden', 'Sample'], frameon=False, save='myplot.png')thank you very much