rstoolbox.plot.plot_ramachandran_single

rstoolbox.plot.plot_ramachandran_single(df, seqID, ax, rama_type='GENERAL', **kwargs)

Plot only one of the 4 ramachandran plots in RAMPAGE format.

Parameters for scatter() can be provided with prefix scatter_.

Parameters for plot() can be provided with prefix line_.

Parameters:
  • df (Series) – Data container, where ONE column cotains the phi and a second column the psi angles.
  • seqID (str) – Identifier of the sequence of interest
  • ax (Axes) – matplotlib axis to which we will plot.
  • rama_type (str) – Type of plot and residue types to plot. Options are: [GLY, PRO, PRE-PRO, GENERAL].
Raises:
ValueError:If the input is not a Series with the phi_seqID and psi_seqID columns.
ValueError:If rama_type is not between the available options.

See also

plot_ramachandran() get_sequence_and_structure() get_dihedrals() get_phi() get_psi()