code for finding up and down regulated genes