Inferring the interaction structure of resistance to antimicrobials.