Factors affecting in vitro and in vivo function of isolated porcine islets