HCN4 is the officially approved designation for the human gene that makes the key protein subunit of the "funny" channel that regulates the rate of beating of the heart. Mutations in this gene can cause patients to have bradycardia and other heart problems.
This diagram (to the right) shows a model of the structure of the ion channel formed by the HCN4 protein. Ivabradine can block the current of cations such as sodium that can normally move through the "funny" channel's pore. The binding site for ivabradine is indicated ("DOCKING CAVITY") (source)Image below: a model of ivabradine (purple) and nearby amino acids of the "funny" channel that form the binding site for ivabradine. The black dot indicates the position of a cation binding site in the pore of the channel.