Mercurial > repos > mheinzl > fsd
comparison fsd.py @ 47:1ed4a127c41a draft
planemo upload for repository https://github.com/monikaheinzl/duplexanalysis_galaxy/tree/master/tools/fsd commit 033dd7b750f68e8aa68f327d7d72bd311ddbee4e-dirty
author | mheinzl |
---|---|
date | Wed, 28 Aug 2019 17:36:28 -0400 |
parents | 901827154779 |
children | e51fe3083b16 |
comparison
equal
deleted
inserted
replaced
46:901827154779 | 47:1ed4a127c41a |
---|---|
518 if log_axis: | 518 if log_axis: |
519 plt.yscale('log') | 519 plt.yscale('log') |
520 plt.legend(loc='upper right', fontsize=14, bbox_to_anchor=(0.9, 1), frameon=True) | 520 plt.legend(loc='upper right', fontsize=14, bbox_to_anchor=(0.9, 1), frameon=True) |
521 plt.title("{}: FSD based on families".format(name_file), fontsize=14) | 521 plt.title("{}: FSD based on families".format(name_file), fontsize=14) |
522 plt.xlabel("Family size", fontsize=14) | 522 plt.xlabel("Family size", fontsize=14) |
523 plt.ylabel("Absolute Frequency", fontsize=14) | 523 plt.ylabel(ylab, fontsize=14) |
524 plt.margins(0.01, None) | 524 plt.margins(0.01, None) |
525 plt.grid(b=True, which="major", color="#424242", linestyle=":") | 525 plt.grid(b=True, which="major", color="#424242", linestyle=":") |
526 | 526 |
527 # extra information beneath the plot | 527 # extra information beneath the plot |
528 legend = "SSCS ab= \nSSCS ba= \nDCS (total)= \ntotal nr. of tags=" | 528 legend = "SSCS ab= \nSSCS ba= \nDCS (total)= \ntotal nr. of tags=" |