Analysis of immunoglobulin domain interactions