Previous topic

bioa.DecliquedAmpliconReadGraph.read_frequency_correlation

Next topic

Amplicons

This Page

bioa.DecliquedAmpliconReadGraph.read_frequency_squared_euclidean_distance

DecliquedAmpliconReadGraph.read_frequency_squared_euclidean_distance(graph)

Computes the squared euclidean distance between the frequencies of the reads in this graph versus the frequences of the reads in the other graph.

Parameters :

self : DecliquedAmpliconReadGraph

Original amplicon read graph

graph : DecliquedAmpliconReadGraph

Adjusted read frequency amplicon read self with fork vertices added.

Returns :

distance_squared : float

Sum of all the squared distances.