def test_save_single_phasePlot(self): fp = self.rseq.get_fraction_positive() fn = self.rseq.get_fraction_negative() plots.save_single_phasePlot(fp, fn, 'tmpfiles/single_PP.png', 'TEST TITLE') plots.save_single_phasePlot( fp, fn, 'tmpfiles/single_PP_NO_LEGEND.png', 'TEST TITLE', False) plots.save_single_phasePlot( fp, fn, 'tmpfiles/single_PP_NO_LEGEND.pdf', 'TEST TITLE', False, saveFormat='pdf')
def test_save_single_phasePlot(self): fp = self.rseq.get_fraction_positive() fn = self.rseq.get_fraction_negative() plots.save_single_phasePlot(fp, fn, "tmpfiles/single_PP", "TEST TITLE") plots.save_single_phasePlot(fp, fn, "tmpfiles/single_PP_NO_LEGEND", "TEST TITLE", False)
def test_save_single_uverskyPlot(self): hydro = self.rseq.get_uversky_hydropathy() mnc = self.rseq.get_mean_net_charge() plots.save_single_phasePlot(hydro, mnc, "tmpfiles/single_UV", "TEST TITLE") plots.save_single_phasePlot(hydro, mnc, "tmpfiles/single_UV_NO_LEGEND", "TEST TITLE", False)