FragmentFrame.
make_per_position_frequency_network
()¶Generate a graph representation of the per-residue frequency.
Generate a directed graph of class DiGraph
in which each node is
a residue type and each edge the frequency expected for that residue type in that
position according to the frequency matrix. As a matter of fact, the edge is the
inverted frequency, as the idea is to use the graph to calculate the shortest paths
(i.e. the more probable sequences).
Returns: | DiGraph - with as many nodes as the 20 possible amino acids
by the length of the sequence. |
---|
Warning
This is an experimental feature.