Function: detectInteractions()
detectInteractions(
receptorAtoms,ligandAtoms,options):Interaction[]
Defined in: src/mobjects/molecular/interactions.ts:88
Detect the non-covalent interactions between a receptor and a ligand.
Returns one Interaction per qualifying atom pair, sorted by distance (closest first). A pair that qualifies as a hydrogen bond is reported as a hydrogen bond and not also as a hydrophobic contact.
Parameters
receptorAtoms
ligandAtoms
options
DetectInteractionsOptions = {}