Uncovering membrane receptors function from the interplay between molecular structure and intermolecular interactions