Due to the rapid development of imaging acquisition techniques, a large amount of large-scale biomedical studies on neuro-related diseases have been established, such as Alzheimer's Disease Neuroimaging Initiative (ADNI) study, the Human Connectome Project (HCP) study and the UK biobank (UKB) study. These databases have myriad data types, including genomic data, phenotypic data, imaging data, clinical outcomes, and many others. Among the studies on biomedical data, functional regression has received the most attention in functional data analysis (FDA). However, existing statistical methods in this field still face challenges while considering unknown confounders caused by imaging heterogeneity, non-Euclidean imaging data, or imaging data with jump discontinuities. To tackle these challenges, we propose several functional regression models for biomedical data with different structures. First, the function-on-scalar regression model is a powerful tool for building the relationship between the functional responses and covariates of interest. Although it has been widely applied in many large-scale neuroimaging studies, most existing approaches fail to take into account the nonlinear relationship and the unknown confounders caused by imaging heterogeneity. In particular, the potential heterogeneity may be caused by the differences in the study environment, population, design, protocols, and other unknown factors. To address this challenge, we develop a single index function-on-scalar regression model to investigate the nonlinear relationship between functional responses and covariates of interest while adjusting for unknown confounding factors caused by potential imaging heterogeneity. Both estimation and inference procedures are established for unknown quantities in our proposed model. In addition, the asymptotic properties of estimated functions and detected confounding factors are also systematically investigated. The finite-sample performance of our proposed method is assessed by using both Monte Carlo simulations and a real data example on the diffusion tensor images from the ADNI study. Second, causal mediation analysis is widely utilized in neuroscience to investigate the role of brain image phenotypes in the neurological pathways from genetic exposures to clinical outcomes. However, it is still difficult to conduct a genome-wide mediation analysis with the shapes of brain regions as mediators due to several challenges including (i) large-scale genetic exposures, i.e., millions of single-nucleotide polymorphisms (SNPs); (ii) nonlinear Hilbert space for shape mediators; and (iii) statistical inference on the direct and indirect effects. To tackle these challenges, this paper proposes a mediation analysis framework with high dimensional genetic exposures and shape mediators. First, to address the issue caused by the high dimensionality in genetic exposures, a fast genome-wide association analysis is conducted to discover potential genetic variants with significant genetic effects on the clinical outcome. Second, the square-root velocity function representations are extracted from the shapes of the subcortical brain structure, which fall in an unconstrained linear Hilbert subspace. Third, to identify the underlying causal pathways from the detected SNPs to the clinical outcome implicitly through the shape mediators, we proposed a framework consisting of a shape-on-scalar model and a scalar-on-shape model. Furthermore, the bootstrap resampling approach is adopted to investigate both global and spatial significant mediation effects. Finally, our framework is applied to the ADNI corpus callosum shape data, and we successfully identify the mediation effect of a subset of candidate SNPs on Alzheimer's Disease through some specific subregions of the corpus callosum. Finally, most existing methods in functional data analysis assume the smoothness of the functional responses and the coefficient functions or require some smoothing techniques before fitting the functional responses into the statistical models. However, this is often violated in biomedical imaging data, which usually contains spatially contiguous regions or effect regions with relatively sharp edges due to the physical or biological reasons. Thus they tend to blur the image data near the edges or jumps. While the pixel or voxel based methods ignore the spatial information of imaging data, they fail to characterize the spatial correlations. Thus, it is essential to propose an appropriate framework to reveal the relationship between imaging responses and the covariates of interest, while taking the discontinuous property and spatial correlation into account simultaneously. To address these challenges, we proposed a Bayesian hypothesis testing framework on image-on-scalar regression model with mixed effects, and consider wavelet basis decomposition to account for the sudden transitions in the imaging responses. To depict the spatial correlation between grids for each observation, a conditional auto-regressive (CAR) model is utilized. Due to the advantage of Bayesian analysis in hypothesis testing, we propose a Bayesian framework for an image-on-scalar CAR model using a set of Normal - Inverse-Gamma - Uniform priors, introducing the local indicators to conduct block-wise hypothesis tests efficiently and flexibly.