Application of Graphical Models in Protein-Protein Interactions and Dynamics