def generate_graphs(clusters_list, output, size, linkage, cutoff,distances):
"""
DESCRIPTION
Create a linear cluster mapping graph where every frame is printed as a
colored barplot
Args:
clusters_labels (list): list of cluster number per frame
output (string) output name for graph
Return:
colors_list (list) to be used with 2D distance projection graph
"""
colors_list = plot_barplot(clusters_list, output, size)
plot_dendro(linkage, output, cutoff, colors_list,clusters_list)
plot_hist(clusters_list, output,colors_list)
if (distances.shape[0] < 10000):
implot(distances,output)
else:
printScreenLogfile("Too many frames! The RMSD distance matrix will not be generated")
return colors_list
评论列表
文章目录