Ok likelihood swp2

master
tforest 2023-11-29 15:29:12 +01:00
parent 2253ce5f67
commit 23fef174f2
1 changed files with 13 additions and 15 deletions

View File

@ -288,7 +288,6 @@ def plot_all_epochs_thetafolder(folder_path, mu, tgen, title = "Title", theta_sc
plt.title(title)
plt.savefig(title+'_b'+str(breaks)+'.pdf')
# plot likelihood against nb of breakpoints
# best possible likelihood from SFS
# Segregating sites
S = sum(SFS_stored)
@ -396,7 +395,6 @@ def plot_test_theta(folder_path, mu, tgen, title = "Title", theta_scale = True,
plt.ylabel("theta")
plt.legend(loc='upper right')
plt.savefig(title+'_test'+str(k)+'.pdf')
# Plotting (fig 3) which is the same but log scale for x
plt.plot(x_2, y, 'o', linestyle="dotted", alpha=0.75, lw=2, label = str(epoch)+' brks')
plt.xscale('log')