rstoolbox.components.FragmentFrame.make_frequency_network

FragmentFrame.make_frequency_network(use_rmsd=False)

Generate a graph with per-position frequency between residue types at each position.

Generate a DiGraph in which each node is a residue type and each edge the frequency expected for the transition between residue-type in position i and residue-type in position i+1.

Parameters:use_rmsd (bool) – When True, correct the pair counts by the RMSD. Basically, the smaller the RMSD, the more the count weights.
Returns:DiGraph - with as many nodes as the 20 possible amino acids by the length of the sequence.

Warning

This is an experimental feature.