Previous topic

bioa.DecliquedAmpliconReadGraph.split_edge

Next topic

bioa.DecliquedAmpliconReadGraph.read_frequency_squared_euclidean_distance

This Page

bioa.DecliquedAmpliconReadGraph.read_frequency_correlation

DecliquedAmpliconReadGraph.read_frequency_correlation(graph)

Computes the correlation 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 :

correlation_and_p_value : (float, float)

Pearson’s correlation coefficient between the two frequency data sets and the corresponding p-value.