A novel computational method for inferring competing endogenous interactions