Electrophysiological patterning of the heart door