All statistical analyses were done using GraphPad Prism 7.00 software. Most data were analyzed by one-way ANOVA followed by Dunnett’s multiple post-hoc test for comparing more than three samples, and two-sample unpaired t-test for comparing two samples with 95% confidence. Two-sample Kolmogorov–Smirnov test with 95% confidence was used for electrophysiology experiments in Fig. 2g. Power calculations were performed using G*Power Software V 3.1.9.248. Group sizes were used to provide at least 80% calculable power with the following parameters: probability of Type I error (0.05), conservative effect size (0.25). Four to eight treatment groups with multiple measurements were obtained per replicate.