Detecting social transmission in networks.