Introduction

Cognitive abilities and neural development are determined by complex and dynamic interactions between environmental influences and the individual genetic architecture across the lifespan [1, 2]. The genetically driven temporal regulation is especially noticeable in the transition from childhood to adolescence and adulthood, and can have both immediate and lagged effects on the risk for psychiatric disorders depending on the timing of gene expression and the relevant environmental perturbations, which jointly determine the individual age of onset of the clinical phenotypes [3]. Studies on the genetic architecture of cognitive and structural brain phenotypes are eliciting previous findings from quantitative genetics (i.e., heritability) [4, 5]. However, a large fraction of the underlying molecular genetic mechanisms—and their relation to developmental trajectories—remains to be revealed.

Previous research suggests that runs of homozygosity (ROH) are linked to human cognitive abilities [6,7,8]. Studies on ROH and cognition in different strata of the general population have shown mixed results, with moderate effect sizes [6,7,8]. While two studies [6, 8] suggest that inbreeding depression may decrease adult intelligence, divergent results by Power et al. [7] could be explained in view of three evidences. First, assortative mating has recently been highlighted as an important factor underlying psychiatric and behavioral phenotypes [9,10,11,12], in line with specific findings showing assortative mating in relation to cognitive ability published in the late 20th century [13, 14]. Second, similar to the age-varying pattern for the heritability of cognition [15, 16], the genetic effect of ROH on cognition may be different across the lifespan. Third, differences in ROH burden calculation between the report by Joshi et al. [6] and the other two studies [7, 8] may have added to the discrepancies.

Growing evidence indicates that the genetic architectures of schizophrenia and cognition are partly shared in young and middle-aged adults [17], and that the shared genetic variance between cognition and schizophrenia risk might be age-dependent [18], calling for further research on lifespan patterns. In fact, Germine et al. [19] reported that higher schizophrenia PGRS is linked to lower speed of emotion identification and speed of verbal reasoning in healthy young individuals from the Philadelphia Neurodevelopmental Cohort (PNC). Consistently, Shafee et al. [20] recently found an association between schizophrenia PGRS and specific cognitive abilities in adults. The latter findings may be mediated by genetic effects on brain structure and function, but the evidence of associations between genetic risk for schizophrenia and brain features is scarce, with some studies reporting no overlap between schizophrenia PGRS and subcortical phenotypes derived from magnetic resonance imaging (MRI) [21], whereas others suggest an association with cortical thickness/surface area [22]. Replication studies using independent samples and probably a wider span of brain features are thus needed.

With this background, using a sample of 4183 young participants (ages 8–22) of European ancestry from the PNC, we pursue the following four main aims. First, the putative links between multivariate genome-wide features (ROH burden and schizophrenia PGRS, computed independently) and both intellectual abilities and neuroanatomical features are tested. Second, potential age-modulating effects on relevant outcomes of the latter analysis are tested. Third, whether inbreeding modifies the effects of genome-wide schizophrenia burden on cognition and brain anatomy is evaluated by testing the effects of the interaction between ROH and PGRS on cognitive ability and brain structure. Finally, the presence of brain anatomy differences mediating the associations between ROH/PGRS and cognition is assessed from a causal mediation framework. Using those elements, our overall goal is to outline potential neurodevelopmental pathways leading from biologically meaningful whole-genome features to neural and ultimately cognitive disruptions.

Materials and methods

Participants and measures

The data was retrieved from the PNC public domain resources. The PNC includes more than 9000 individuals aged 8–22 years drawn from a larger population, enrolled through a joint collaborative effort of the Center for Applied Genomics at Children’s Hospital of Philadelphia and the Brain Behavior Laboratory (University of Pennsylvania). All enrolled participants were able to provide informed consent, and parental consent was also required for subjects under age 18. All individuals underwent a psychiatric evaluation using a structured clinical interview, and the Wide Range Achievement Test (WRAT) [23] was applied. After removing participants of non-European ancestry or due to missing data for relevant variables, 4183 individuals were included in the main analyses (ROH, PGRS, and cognition), and MRI data was available for 516 of them. A more comprehensive description of the PNC demographics and data collection protocols is provided in previous publications [24,25,26]. PNC data is publicly available via dbGaP (https://www.ncbi.nlm.nih.gov/projects/gap/cgi-bin/study.cgi?study_id=phs000607.v1.p1) and related resources (https://www.med.upenn.edu/bbl/philadelphianeurodevelopmentalcohort.html). Analysis pipelines used in this study can be obtained upon request to the authors.

Genotyping platforms and genotype imputation

Genotyping was performed by the Center for Applied Genomics, at the Children’s Hospital of Philadelphia. The DNA samples from the PNC were genotyped in different batches using the following platforms: Illumina OmniExpress (n = 1657), Illumina Human-610 Quad (n = 3807), Illumina HumanHap-550-v1 (n = 556), Illumina HumanHap-550-v3 (n = 1914), Affymetrix Genome-Wide Human SNP Array 6.0 (n = 66) or Affymetrix Axiom (n = 722) (hereafter, Omni, Quad, 550-v1, 550-v3, Affy60, and Axiom). From those datasets, only participants of European ancestry were included in the final statistical analyses, in recognition that the inclusion of subjects from other ethnicities might add genetic variability altering both ROH-phenotype and PGRS-phenotype association estimates (e.g., homozygosity might differ between ethnicities and across samples with distinct admixture levels [8], and schizophrenia PGRS might not explain much variance in non-European samples [27]). Further details on genotype imputation can be found in Supplementary Material.

Runs of homozygosity

The sum of the total length of ROHs across chromosomes 1–22 was divided by the total SNP-mappable autosomal length (2.77 × 10−9 bp), to obtain an estimate of ROH burden for each individual (ROH fraction, FROH). The protocol was based on parameters widely used in previously published manuscripts [7, 8, 28], with slight modifications based on quality control procedures suggested elsewhere [29]. Briefly, each of the filtered genotyping batches was pruned for LD using VIF threshold = 10, with window size = 50 SNPs and window shift step = 5 SNPs. Then, FROH was calculated with PLINK’s sliding-window approach, with a minimum SNP length threshold and window size of 65 SNPs, 5% of missing SNPs allowed and no heterozygote SNPs accepted. The number of independent ROH segments was also extracted from the “.hom.indiv” files generated by PLINK, and is hereafter referred to as NROH. Additional details on the ROH-calling algorithm are reported in Supplementary Material.

Schizophrenia PGRS

The imputed genotypes passing quality control (see Genotyping platforms and genotype imputation) were used to compute schizophrenia PGRS, based on data published by the Schizophrenia Working Group of the Psychiatric Genomics Consortium [30]. Initially, SNPs with ambiguous alleles (AT or CG), or in linkage disequilibrium with the local SNP with the smallest p-value were removed (the SNP with the smallest p-value within a 250 kb window is retained, and all neighbors with a linkage disequilibrium r2 > 0.1 are removed; a step known as clumping). Also, SNPs within the major histocompatibility complex region (chromosome 6, 26–33 Mb) were omitted, and 500 different PGRS values were obtained (p-value thresholds, pthreshold, from 0.001 to 0.5, with intervals of 0.001). The former procedures were implemented in PRSice.

As done in former studies [31,32,33], a specific p-value cutoff was chosen for the schizophrenia PGRS (out of the 500 estimations) by tuning the fitting parameters (adjusted R2) to maximize the explained variance of independent regression models with cognitive performance as outcome and gender, age, batch, and PGRS as dependent variables.

Image acquisition and pre-processing

MRI was performed for a subset of participants at the Hospital of the University of Pennsylvania, by means of a 3T Siemens TIM Trio whole-body scanner (32-channel head coil; gradient performance: 45 mT/m; maximum slew rate: 200 T/m/s). The focus of the current study is on structural brain features derived from 3D T1-weighted images obtained using a MPRAGE sequence (TR: 1.81 s; TE: 3.5 ms; FA: 9°; FOV: 240 × 180 mm; 1 mm slice thickness; 160 slices), whose acquisition parameters have formerly been described in more detail [26].

Data from each participant were pre-processed using the recon-all stream from Freesurfer v5.3.0 (http://surfer.nmr.mgh.harvard.edu/) [34], using automatic parcellation and segmentation protocols to obtain 68 cortical and 14 subcortical gray matter brain regions, as well as some global brain features (e.g., intracranial volume (ICV)) [35]. Thickness and surface measurements from cortical regions were used for the ensuing analyses, along with volumetric estimates of subcortical volumes. Twelve relevant brain features were selected for analysis: intracranial and seven subcortical volumes used in a recent ENIGMA report [4], along with mean cortical thickness, total cortical surface area, cerebellar cortex volume, and cerebellar white matter volume. After merging with genetic and other phenotypic data of European-ancestry participants, there were 516 participants with MRI measures available. A measure of participants’ age in months was extracted from the DICOM headers of the 516 MRI files, and it was used in the analyses involving brain features.

Statistical analyses

The analyses of ROH, PGRS, and cognition were performed via linear regression in R, including sex, age, age squared, and ten genetic principal components as covariates. For the analysis of ROH, fraction of missing values and SNP-by-SNP homozygosity were also adjusted for. Finally, the question of whether differences in brain features mediate the association between genomic features and IQ was assessed using causal mediation. Results reported below include p-values adjusted using either Bonferroni correction or false discovery rate [36, 37], which have been documented as appropriate methods to control for multiple testing. In the regression models, all continuous variables were scaled with R’s “scale” function, to get interpretable coefficients. Additional details on the statistical methods are included in Supplementary Material.

Results

Demographic and clinical data

The data shown in Table 1 and Fig. 1 summarizes phenotypic information of PNC’s sample subset included herein. When considering all participants, the correlations between age, age squared and total WRAT score were either small or moderate, with the largest coefficient for WRAT and age (r = 0.67). Even though the PNC participants were initially recruited randomly from the set of available genotypes regardless of genotyping platform [26], the age and IQ distributions displayed small yet statistically significant differences across batches (median ages: 13, 14, 15, and 16 years, p < 3 × 10−16; median IQ scores: 105 and 106, p = 0.006), which may have had an impact on the distribution of other variables such as ICV (p = 0.024 for between-batch differences) and related neuroimaging measures. Besides, the contingency table of medical status categories (none/minor, mild, moderate, and severe) and genotyping platforms displayed unbalanced frequencies (p = 10−10, Table 1). These observations, along with the differences in genetic measures discussed below, encouraged the inclusion of genotyping platform in all ensuing analyses.

Table 1 Descriptive values of the main phenotypic and genetic variables included in the analyses, stratified by genotyping platform
Fig. 1
figure 1

Distribution of age, age squared, total WRAT scores, and age-standardized WRAT scores. Notes: Age range in the uppermost left square is shown in years (8–22), and WRAT scores are displayed both before (raw) and after (std) age standardization. Numbers on the upper right triangle correspond to Pearson correlation coefficients between pairs of variables, and symbols indicate significance levels (■p < 0.1, *p < 0.05, **p < 0.01, ***p < 0.001)

Schizophrenia PGRS and cognitive performance

As mentioned above (see Methods) 500 schizophrenia PGRS values were computed (to assess the p-value threshold (pthreshold) range from 0.001 to 0.5, in steps of 0.001). The model fitting parameters of PGRS for IQ are shown in Supplementary Fig. S1, using four different settings: models with or without participants displaying moderate/severe medical conditions, evaluated using either 4 or 15 covariates along with the PGRS. Outcomes were assessed based on both the overall adjusted-R2 of the full model, and the PGRS’s p-value within that model. Data on Supplementary Fig. S1 provide multiple insights: first, 15-covariate models showed higher adjusted-R2 values than their 4-covariate counterparts, suggesting that the principal components extracted from the identity-by-state do explain part of the phenotypic variance in cognitive performance. Second, schizophrenia PGRS display smaller p-values when including participants with medical conditions. Third, across all models, the best-fitting parameters (smallest p-values) throughout the different threshold values were observed using a pthreshold of either 0.005 or 0.01. Of note, when using standardized WRAT scores (a measure of IQ), 0.005 was also the threshold with the smallest p-values; it was thus selected for the analyses shown next (Supplementary Figs. S1, S2). The results indicate that a higher schizophrenia PGRS is associated with higher cognitive performance across age (β = 0.027, SE = 0.011, p = 0.015; Supplementary Fig. S3); β-values were positive across PGRS p-value thresholds in this model (range: 0.02–0.35), as well as in all 4-covariate regressions and excluding participants with moderate/severe medical conditions. Lastly, there were no significant interactions between PGRS and either age or age squared on cognitive performance in the full dataset (n = 4183; PGRS × age: β = −0.02, SE = 0.011, p = 0.071; PGRS × age2: β = 0.014, SE = 0.011, p = 0.21), although there was an association with age when excluding participants with medical conditions (n = 3036; PGRS × age: β = −0.026, SE = 0.013, p = 0.037; PGRS × age2: β = 0.019, SE = 0.013, p = 0.139; Supplementary Fig. S4). Those results were similar when using 4-covariate models.

ROH and cognitive performance

Descriptive values of FROH and related variables (NROH, FSNP, Fmiss) are shown in Table 1 and Fig. 2. There were no significant differences in the distribution of FROH across platforms, although a statistically significant batch-specific pattern was observed in Fmiss, FSNP, and NROH (p < 3 × 10-16, p = 7 × 10-10, and p = 4 × 10-5). Pairwise analysis of these variables indicated a moderate correlation between the number of ROH per individual (NROH) and SNP-by-SNP homozygosity (FSNP) (r = 0.38), whereas larger coefficients were observed between FROH and FSNP (r = 0.5), and between FROH and NROH (r = 0.75). The latter is shown in more detail in Supplementary Fig. S5, where the FROH and NROH values are compared for the whole sample. The correlations remained virtually unchanged after removing participants with moderate/severe medical status. Those two distributions (with and without participants with relevant medical conditions) are highly overlapping, with only two out of six high-ROH burden participants (FROH > 0.025) coming from the subsets of moderate and severe medical conditions. Of note, FROH was linearly independent of the schizophrenia PGRS (full sample: r = 0.016, p = 0.293; removing participants with medical conditions: r = 0.025, p = 0.172) (Fig. 2 and Supplementary Fig. S5), which further justifies the analysis of their joint effects in subsequent tests.

Fig. 2
figure 2

Correlation between different genomic features. Notes: F_SNP represents the SNP-by-SNP homozygosity; F_miss indicates the fraction of missing genotypes per sample; F_ROH is the fraction of the genome covered by homozygous blocks (included as variable of interest in the downstream analysis); N_ROH corresponds to the number of homozygous segments of each participant; PGRS_p0.005 denotes schizophrenia polygenic risk scores using markers with p ≤ 0.005 in the PGC2 GWAS. Numbers on the upper right triangle correspond to Pearson correlation coefficients between pairs of variables, and symbols indicate significance levels (■p < 0.1, *p < 0.05, **p < 0.01, ***p < 0.001)

Regarding phenotype-ROH burden association tests, the output of linear regression analysis in the whole dataset (n = 4183) showed a positive-signed association between cognitive performance and FROH (β = 0.047, SE = 0.013, p = 3.5 × 10-4, Supplementary Fig. S6). Despite the apparent bias introduced by a few subjects with very high FROH values within the Quad platform, the effect was noticed across the four genotyping batches (Supplementary Fig. S7), and the analysis excluding subjects with FROH > 0.02 displayed similar outcomes (β = 0.057, SE = 0.012, p = 1.3 × 10-6). The results after excluding participants with moderate/severe medical conditions (namely, keeping 3036 individuals) remained statistically significant (β = 0.046, SE = 0.014, p = 1.6 × 10-3). An additional analysis revealed no interactions between FROH and either age or age squared on IQ (FROH × age: β = 0.011, SE = 0.011, p = 0.325; FROH × age2: β = −0.007, SE = 0.016, p = 0.672; Supplementary Fig. S8).

ROH × schizophrenia PGRS interaction on IQ

A statistically significant interaction effect between ROH burden and schizophrenia PGRS on cognitive performance was detected, although the explained variance was relatively small. Briefly, the main effects model (15-covariate) showed significant results for both FROH (β = 0.046, SE = 0.013, p = 5.2 × 10-4) and schizophrenia PGRS (β = 0.025, SE = 0.011, p = 0.023), with an adjusted-R2 of 0.4864 for the whole regression, whereas in the multiplicative interaction model FROH × PGRS was statistically significant (β = 0.032, SE = 0.016, p = 0.048; overall adjusted-R2: 0.4867). As indicated, there was slight increase in the model fitting parameter (adjusted-R2 shifting from 0.4864 to 0.4867), with a statistically significant effect according to the ANOVA test for the interaction (F = 3.9, p = 0.048). The results were very similar within the 4-covariate framework, with significant effects for both FROH and PGRS (FROH: β = 0.037, SE = 0.011, p = 7.8 × 10-4; PGRS: β = 0.027, SE = 0.011, p = 0.015; overall adjusted-R2: 0.4861), with a significant interaction term and improved model-fitting statistics (FROH × PGRS: β = 0.036, SE = 0.016, p = 0.029; overall adjusted-R2: 0.4866), and statistically significant ANOVA results (F = 4.8, p = 0.029). The data in Supplementary Fig. S9 indicates that individuals with a high level of inbreeding would be more sensitive to the effects of schizophrenia polygenic burden: those in the uppermost FROH quartile would have higher cognitive performance when their schizophrenia PGRS is high. In contrast, subjects with lower FROH generally display no correlation between PGRS and cognition. As evidenced in Supplementary Fig. S9, despite statistically significant, the effect sizes of these interactions were relatively small. Of note, when excluding participants with high homozygosity burden (FROH > 0.02), the main effects showed similar effect sizes and significance levels (FROH: β = 0.055, SE = 0.012, p = 2.5 × 10-6; schizophrenia PGRS: β = 0.024, SE = 0.011, p = 0.032), but the interaction term was not statistically significant (β = 0.009, SE = 0.011, p = 0.422). There were no three-way interactions with age or age squared (FROH × PGRS × age: β = −0.019, SE = 0.016, p = 0.235; FROH × PGRS × age2: β = −0.001, SE = 0.019, p = 0.951). The significance of the findings remained unchanged after removing participants based on medical status.

Brain features, ROH, and schizophrenia PGRS

Descriptive values of the brain features, in relation to age and cognitive performance (age-standardized) are shown in Fig. 3 and Supplementary Fig. S10, respectively. Table 2 displays the results of 15-covariate models evaluating the associations either between brain features and FROH or between brain features and schizophrenia PGRS. After multiple testing adjustments, higher PGRS was significantly associated with smaller cortical surface area and smaller thalamic volume. Although there was no association between PGRS and cognitive ability in the subset of participants with MRI data (n = 516), causal mediation analysis suggested a suppression effect: modifications of brain feature sizes would compensate against the direct effect of schizophrenia PGRS on cognitive ability (cortical area: average causal mediation effects (ACME) = −0.026, 95% C.I. = [−0.059, −0.002], p = 0.028, average direct effect (ADE) = 0.058, 95% C.I. = [−0.115, 0.232], p = 0.52; thalamus: ACME = −0.021, 95% C.I. = [−0.051, −0.0004], p = 0.045, ADE = 0.053, 95% C.I. = [−0.119, 0.225], p = 0.55). Notice that such assertion had only limited support from the mentioned data subset, since no direct effects (ADE) of PGRS were detected.

Fig. 3
figure 3

Brain feature values, plotted against age. Notes: The vertical scales are in mm3 for most features (volumetric traits), except for mean cortical thickness (in mm) and total cortical surface area (in mm2). Age (horizontal axis) is displayed in years

Table 2 Association between brain features and either schizophrenia PGRS or FROH

With regard FROH, there was no statistically significant association. PGRS × FROH interaction tests did not reveal any significant association on the assessed brain features.

Discussion

In this work, the potential influence of both autozygosity and cumulative genetic risk for schizophrenia on cognitive performance was evaluated in a large and harmonized cohort (n = 4183) of European-ancestry participants from the general population, aged 8–22. Increased inbreeding, as indexed by a larger fraction of the genome in ROH, was associated with higher cognitive performance. Similarly, a higher genetic burden for schizophrenia was related to higher cognitive scores. Although ostensibly paradoxical, the results agree with some previous reports using related study designs [7, 38, 39]. Additionally, interaction effects suggest that more inbred individuals might display higher cognitive test scores in the presence of high schizophrenia polygenic risk score. The relatively small effect sizes indicate that the contribution of these whole-genome features to the total heritability of cognitive performance is modest.

Regarding ROH and cognition, perhaps the most similar study to this one was conducted by Power et al. [7] in a demographically analog study sample (2329 European-ancestry participants, age 12). The ROH-calling procedures using both here and in the former report were also equivalent, and in both cases the outcomes suggest that, in young individuals, increased autozygosity is associated with higher intelligence. To interpret their findings, Power et al. [7] hypothesized that positive assortative mating in couples with better cognitive profiles could partly explain the mentioned association. Observations from other independent reports support the hypothesis of differential assortative mating patterns influencing cognitive, behavioral, and psychiatric phenotypes [9,10,11,12,13,14], which is possibly the most plausible framework to explain the findings from Power et al. [7] and the current report. Further research is needed since both research outcomes indicate relatively small effect sizes which might have been shadowed by unpublished findings.

Importantly, two former studies have found the inverse association in samples of adult participants. First, Joshi et al. [6] found a negative correlation between ROH and cognition by meta-analyzing information of 53,300 participants from different cohorts and ancestries. Importantly, as the same authors showed, both FROH and NROH vary depending on ancestry, which might have induced heterogeneity in that study that is not present in the current dataset. It is worth noting that Joshi et al. [6] included datasets (e.g., FTC_1) that are relatively similar to the present study sample (PNC) in terms of demographics, but there were no statistically significant results within those sub-cohorts. Differences in ROH-calling procedures could have also influenced this between-study discordance. Here, a validated protocol [28] of increasing popularity has been employed, which could strengthen the reliability of the findings. Another study by Howrigan et al. [8] showed, in a sample of 4854 European-ancestry adults from nine cohorts, that increased ROH burden might be associated with lower intelligence. The main focus on adult participants in both previous studies may limit the comparability of the results, since the genetics of intelligence exhibit largely dynamic patterns over the lifetime [15, 16].

Interestingly, we found a positive correlation between schizophrenia PGRS and cognitive performance, suggesting that higher genetic burden for schizophrenia is related to better cognitive performance. This finding somehow agrees with observations from two previous cohorts of healthy participants, which indicate that higher schizophrenia PGRS would be associated with decreased risk for psychosis-like experiences and schizotypy [38, 39]. The results from those two reports were interpreted by Barrantes-Vidal et al. [38] in view of potential involuntary biases in sampling: samples with only healthy participants are not likely to include subjects with high schizophrenia PGRS and high psychosis-related phenotypes; people with high schizotypy and low resilience would seldom be part of the healthy general population, but would transition to clinical psychosis instead. Within that framework, lower genetic disease risk would protect healthy high-schizotypy individuals against transition to the clinical phenotype. A high-PGRS-low-resilience population subset would then rarely be part of a healthy sample, not because of an explicit sampling bias to exclude subclinical phenotypes, but rather due to psychopathological dynamics leading high-PGRS-low-resilience to the affected/patient groups. Of note, the current data (PNC) includes participants across a broad spectrum of phenotypes ranging from health to different diseases, and the association between higher schizophrenia PGRS and better cognition is more noticeable when removing participants with medical conditions. Namely, the positive correlation between PGRS and cognitive ability is stronger in the healthiest end of the phenotypic distribution, probably in concordance with an interplay between resilience and genetic schizophrenia risk as referred above.

Regarding the latter finding on schizophrenia PGRS and IQ, it is also important to notice that IQ has recently been reported to have a small negative genetic correlation with schizophrenia risk [40]. Those results obtained with LD Score Regression [41] are ostensibly in disagreement with the current findings, but it is also important to highlight that the data from the Brainstorm Consortium indicate a positive correlation between multiple psychiatric diseases (bipolar disorder, autism, and anorexia) and both education years and college attainment, and the absence of genetic correlation between cognitive performance and schizophrenia [42]. In addition, Okbay et al. [43] have also found a positive genetic correlation between years of education and schizophrenia; overall, there are mixed results that warrant further research to validate whether an increased genetic risk for schizophrenia is linked to the genetics of intelligence. While the arguments on unintended sampling bias outlined before—as opposed to true PGRS causality—are probably the most complete interpretation for the present findings, the latter evidences from other studies could also suggest that schizophrenia PGRS directly increases cognitive scores.

In addition to the explanation above, the observed association between increased genetic risk for schizophrenia and higher cognitive ability might partly be due to the link between psychosis PGRS and psychological traits such as creativity [44], which might be closely related to intelligence [45]. As discussed in the literature on psychometrics, there seem to be discontinuous populations when comparing IQ and creativity: creativity would be higher in individuals above a certain IQ score [45]; analogous non-steady relationships might also be postulated when stratifying IQ by genetic risk for psychosis: perhaps only above a given schizophrenia PGRS value, individuals would transition to psychosis and display cognitive alterations. Also, considering genetic evidence on schizophrenia as a by-product of human evolution [46, 47], one could postulate that the schizophrenia PGRS may confer some evolutionary advantages here manifested as increased cognitive performance.

It is worth noting that despite the important neuromaturational events occurring during adolescence that might affect schizophrenia liability (e.g., synaptic pruning and apoptosis) [48], the results here do not evidence age-related modulation of the PGRS-IQ and ROH-IQ associations. This ostensible independence of genetic effects on cognitive profiles seems to be stable across the considered age range, even when the age–cognition relationship clearly changes during adolescence (e.g., plateaus at ~17 years in Supplementary Figs. S4S8).

To our knowledge, this is the first systematic analysis of interactions between ROH and schizophrenia PGRS. The results show a nominally significant effect that deserves mention: schizophrenia PGRS would be positively correlated with IQ particularly in individuals with a high ROH burden. However, in view of the small size of the effects observed here, validation using larger independent samples is needed.

Limitations of the study include the medical conditions present in some participants, recruited from a hospital; however, as shown above, exclusion of individuals with moderate and severe medical status did not invalidate the findings. Moreover, the focus on a specific age range (8–22 years) and ancestry group has increased specificity, but the findings might not be generalizable to populations from different demographic and genetic backgrounds. Besides, the PGRS findings are nominally significant because of the model selection, and the parameters used to call ROH are relatively robust to confounding due to CNVs [49, 50], but one cannot completely rule out the possibility of artifacts in some of the measurements. Similarly, the procedure adopted here to tune PGRS p-value thresholds to find a best-fit model has been previously applied [31,32,33], but it renders significance of the main PGRS results only nominally significant in this case. Finally, the relatively small number of participants with MRI scans (n = 516) could have limited the power of brain-genetics tests considerably.