Introduction

Lichens are commonly recognized as a symbiotic association between two partners, usually green alga and/or a cyanobacterium, however they are actually a community of microorganisms [1]. The fungal partner, which forms the structural framework of the lichen thallus, provides a protected habitat for the photobiont and exchanges nutrients with it [2]. Lichens can colonize a wide range of terrestrial habitats, from deserts to rainforests, and are used as important bioindicators of environmental change due to their sensitivity to air pollution and climate variability [3].

Endolichenic fungi (ELF) representing fungal residents inside lichen thallus without causing disease symptoms are diverse and abundant [4], and have been found in almost all lichen species examined to date [5]. They belong to various taxonomic groups, and many have been still undescribed [6], Therefore, they represent an understudied component of fungal diversity, and are raising great interest in the ability to produce secondary metabolites with a wide range of biological activities [7]. ELF were considered to play important ecological roles in their host, as in nutrient cycling, carbon fixation, and protection against environmental stressors such as UV radiation and desiccation [5]. Therefore, studying and understanding ELF communities is not only important for gaining knowledge about their species diversity and distribution, but also for uncovering their ecological roles and interactions. This knowledge can help to promote sustainable ecosystems and ecological benefits.

Several factors including lichen host, environmental conditions, and interactions with other microorganisms can affect the structure of ELF community [5, 8]. Vertical transmission of microbiome: from parent thalli to offspring thalli [9] can have implications for the evolution and diversification of ELF. On the other hands, ELF may be adapted to the specific environmental conditions within their host lichens, which can include factors such as temperature, humidity, and nutrient availability. Evidence supporting this speculation includes culture-based studies conducted on a continental scale [10] and NGS data indicating the presence of several lichenicolous fungi in a single locality regardless of host species [11]. The ELF may interact with other microorganisms that co-occur within lichens, such as bacteria or other functionally distinct fungi. These interactions can affect the growth and distribution of ELF. Despite recent advances in our understanding of ELF communities, there is still a lack of data on the factors that strongly influence the formation of these communities. The complex interactions between ELF and their host lichens, as well as the environmental factors that shape these communities, make it difficult to identify specific drivers of community composition and diversity.

To address the knowledge gap on ELF and their communities, we designed a research that aims to explore the diversity and composition of ELF. To investigate whether ELF are vertically or horizontally transmitted, we targeted the lichen species Parmotrema tinctorum that is distributed evenly across different regions [12] as our study subjects. By sampling samples of this species from different locations and analyzing the ELF communities within them, we can determine if the presence and composition of ELF are consistent across host lichen populations or if they vary based on the geographic location. Given the potential for significant variation in ELF community based on location, we set out to investigate the climatic factors that underpin this diversity. Additionally, we aimed to track the trophic mode of members within the ELF community to determine how each resident contributes to the diversity of the community.

Materials and methods

Lichen sampling

We collected 150 lichen samples at three locations: Jeju Island, Chuja Island, and Jeollanam-do separated by the South Sea located off the southwestern part of South Korea in 2019 (Fig. 1a). While administratively belonging to Jeju Province, Chuja Island is geographically located between Jeju Island and the mainland of the Korean peninsula intermediately. We collected 10 thalli of epiphytic lichen Parmotrema tinctorum from each of five sub-sites at each location (in total, 150 lichens in 15 sub-sites) (Supplementary file 1). Morphological identification of each lichen sample was performed in the field, followed by molecular identification based on internal transcribed spacer (ITS) region in the laboratory. The lichen thallus, obtained during this study, was cut into 1 cm2 piece and its surface residues were eliminated using a syringe tip and by washing them with running tap water. Following this, the surface of the lichen thalli was sterilized according to Yang’s protocol [13] using a solution of 70% ethanol and 0.4% sodium hypochlorite for 90 s.

Fig. 1
figure 1

Lichen thalli of the same species, distributed across various locations with different climatic variables, were collected. (a) Collection map of host lichens. A total of 150 epiphytic Parmotrema tinctorum were collected, with ten samples from each of the five sub-sites at three geographically distinct areas with varying latitudes. The mapping was visualized in QGIS v.3.6. (b) Hierarchical heatmap and (c) principal coordinate analysis ordination revealed statistically significant differences in the climatic factors across the three regions. * p < 0.05, ns p ≥ 0.05

Molecular and bioinformatics analyses

The surface-sterilized lichen segments were homogenized by lysing beads and their DNA was extracted using a PowerSoil DNA isolation kit (QIAGEN, CA, USA). After molecular identification of P. tinctorum, we conducted polymerase chain reaction (PCR) of the fungal ITS1 region [14] using primers ITS1F and ITS2 [15] ligated to Illumina sequencing adaptors. We performed PCR three times for each sample using the AccuPower PCR PreMix kit (Bioneer, Daejeon, South Korea) based on the following condition: 94 ℃ for 5 min, 25 cycles of 94 ℃ for 30 s, 55 ℃ for 30 s, and 72 ℃ for 40 s with a final extension at 72 ℃ for 10 min. We evaluated the quality of PCR products on agarose gel and purified using the Expin PCR SV kit (GeneAll, Seoul, South Korea). Second PCR for barcoding was conducted to attach multiple index delimiters as recommended by the Nextera XT Index kit protocol (Illumina, CA, USA). Amplicon concentration was measured using the NanoDrop2000 (Thermo Fisher Scientific, MA, USA) and PCR products were pooled in equal molecular quantity.

Amplicon library sequencing was performed using an Illumina Miseq platform by Macrogen (Seoul, South Korea). Raw sequences were processed using QIIME2 [16] v.2021.4 by demultiplexing and denoising reads following the DADA2 pipeline [17]. Taxonomic assignment was performed according to the Naïve Bayesian classifier guideline [18] using the UNITE fungi 99% OTU database [19]. A phylogenetic analysis was conducted using the q2-alignment plugin based on RAxML [20]. Sequencing data were deposited in National Center for Biotechnology Information (NCBI), Sequence Read Archive under accession number PRJNA955390. The amplicon sequence variant (ASV) [21] table was imported from QIIME2 to R using “qiime2R” [22]. The sequences of host lichen were filtered out and the ASV table were rarefied to 2,000 sequences per lichen host using “phyloseq” [23]. In this process, 30 Location A samples, 8 Location B samples, and 22 Location C samples were excluded. Following analyses were based on the rarefied ASV table.

Characterizing host haplotypes and environmental parameters in sampling locations

To determine which factor - host or location - had a great influence on ELF community structure, we conducted following genetic analyses of the host lichen P. tinctorum. ITS region of host lichen was used in phylogenetic analysis with other Parmotrema species sequences deposited in NCBI database. Phylogeny tree was established using MEGA v.7 [24] based on maximum-likelihood [25] based on Jukes-Cantor model [26], which recorded the lowest Bayesian information criterion [27] in model test with 1,000 replicated bootstrap value and visualized in iTOL [28]. We calculated the genetic variations of P. tinctorum populations with the number of variation sites, nucleotide diversity, number of haplotypes, and haplotype diversity using DnaSP v.6 [29]. We generated haplotype network using PopART v.1.7 [30] based on the method of Templeton, Crandall and Sing [31]. Discriminant analysis of the principal components (DAPC) was conducted to identify haplotype clusters based on k-means clustering [32]. We calculated phylogenetic distance using R package “adephylo” with “distRoot” function [33]. We calculated the distance to the root using two different approaches: maximum-likelihood and Bayesian inference [34]. The Bayesian tree was constructed using the programs BEAUti, BEAST, and TreeAnnotator [35]. To check locational effect on the ELF community, we obtained bioclimatic data (BIO01 to BIO19) for the collection sites by utilizing the WorldClim [36] database based on GPS coordinates.

Statistics and visualizations

All following analyses were performed using software R v.3.5.3 [37]. For the statistical comparison, we conducted the Shapiro test [38] to check data normality at the first. Since the normality assumption was violated, we used the non-parametric test using the Mann–Whitney U test [39] in pairwise comparison and the Kruskal-Wallis test [40] followed by the Bonferroni correction [41] in multiple comparison. To test statistical difference of bioclimatic values of collection sites, we conducted principal coordinate analysis (PCoA) [42] with PERMANOVA test [43] using “vegan” package [44] and hierarchical clustering with “pheatmap” package [45]. The collection sites were marked with different colors for each region and visualized in Quantum Geographic Information System v.3.6 (http://qgis.osgeo.org/). All plot visualizations were performed using “ggplot2” and “ggpubr [46]” packages. Fungal community similarity was calculated based on Bray-Curtis distance [47] with “vegan” package. Using Bray-Curtis distance, non-metric multidimensional scaling (NMDS) was visualized using “phyloseq” and “vegan” packages. Our analysis for investigating relationship between the ELF community diversity and the bioclimatic variables was conducted using the “ggpairs” package. Different abundance of fungal residents across locations was identified by chi-squared test and visualized with volcano plot (https://github.com/kevinblighe). Simple and multiple regression analyses were performed to investigate the correlation between the ELF community and environmental factors. We traced the fungal trophic mode by referencing previous reports [11, 48,49,50,51,52,53,54] and utilizing the FUNGuild database [53]. Structural equation modeling (SEM) is a statistical method used to analyze the relationships between latent variables [55]. Our analysis involved setting up three latent variables, namely bioclimatic variables, community residents, and community diversity, and evaluating their explanatory power with statistical significance. SEM analysis was conducted using “lavaan” [56], “lavaanPlot”, “dplyr”, “tidyr”, “knitr”, and “mvnormalTest” packages.

Results

Location and haplotype information of host lichen

We collected 150 samples of P. tinctorum at three different locations: Jeju Island (represented as Location A), Chuja Island (Location B), and Jeollanam-do (Location C) (see Materials and Methods, Fig. 1a). The three regions are geographically separated by the South Sea and differ in their latitudes. The three locations also differed significantly in terms of their climate variables (PERMANOVA, p = 0.02) e.g., BIO19: precipitation of coldest quarter was the highest in Location C followed by Locations B and A (Fig. 1b and c).

The ITS region of lichen Parmotrema provided enough information for molecular species identification through sole locus itself and this suggested that the gene locus can be conveniently employed for haplotype analysis (Fig. 2a). Upon analyzing the genetic variation, we found that the 150 collected P. tinctorum exhibited sixteen distinct haplotypes. (Fig. 2b). To investigate haplotype cluster, we conducted discriminant analysis of the principal components (Fig. 2c). We performed haplotype clustering using the two discriminants, which had adequate statistical explanatory power. The results of the analysis demonstrated that the sixteen haplotypes were divided into three clusters (Supplementary file 1). The phylogeny of host lichens revealed that the three haplotype clusters were arbitrarily dispersed among the three locations (Fig. 2d). It’s worth noting that there was a significant disparity in the distance to the root when assessed through the maximum-likelihood method compared to the Bayesian inference tree. Furthermore, it’s important to highlight that the distances between the three haplotype clusters displayed statistical significance in both of these approaches.

Fig. 2
figure 2

Clustering of the collected lichens into three haplotype groups was determined by sequence variations. (a) Phylogeny of Parmotrema using sole internal transcribed spacer (ITS) locus indicated that ITS gene appeared to be appropriate for further haplotype analysis. (b) The collected lichens were determined to comprise 16 haplotypes based on genetic diversity. The method of Templeton, Crandall and Sing was employed to generate the haplotype network, which was visualized using PopART v.1.7. (c) A grouping of the 16 haplotypes into three clusters was achieved through discriminant analysis of the principal components (PC). Clustering was performed by utilizing the two PCs with the highest explanatory power, despite obtaining 20 PCs to confirm sequence variation among haplotypes. (d) Based on the phylogenetic analysis of the lichen species used in the study, the haplotype clusters were randomly distributed in the locations. The Cluster 2 demonstrated the most sequence variations from the common ancestor. The phylogenetic trees in this figure were constructed by MEGA v7.0 based on maximum-likelihood method with 1,000 bootstrap replications and visualized through iTOL

Geographical factor had a more significant impact on the ELF community than the host’s haplotype

Fungal community similarity analyses revealed that the structure of the ELF community was greatly influenced by location factors rather than the host’s haplotype (Fig. 3a). Of note, the Bray-Curtis distance analysis of the ELF community indicated that the difference in community structure between Locations A and C was the greatest. Taken together, these findings suggest that the ELF community located in Location B exhibited intermediate features between the fungal communities found in Locations A and C, resembling a locational intermediate.

Fig. 3
figure 3

Structure of the ELF community was found to be more influenced by geographic factors than the haplotype of the host. (a) Non-metric multidimensional scaling and comparison of community dissimilarity suggested that locational difference had a greater impact than host haplotype on the formation of the ELF community. The community dissimilarity was calculated based on Bray-Curtis distance. (b) Alpha diversity indices (Chao1 richness and Shannon’s diversity) of the ELF community. (c) Taxonomic composition of the ELF community was visualized in fungal class and order levels. **** p < 0.001, ** p < 0.01, ns p ≥ 0.05

We also observed differences in the alpha diversity indices of the ELF communities in relation to the location variations (Kruskal-Wallis, p < 0.01) rather than the host haplotype clusters (Fig. 3b). The ELF community located in B showed the highest species richness (Chao1) and diversity (Shannon). To examine the differences in the internal features of the ELF communities across locations, we examined the taxonomic composition of the fungal communities (Fig. 3c). Consistent with previous studies [11], members of the fungal order Capnodiales were found to be the most dominant residents within the ELF communities. The dominance of Capnodiales was less pronounced in Location B and Sordariomycetes fungi showed a higher frequency in Location B compared to Locations A and C.

Several climatic factors influenced the diversity of the ELF community

As we confirmed the phenomenon of the three regions having different bioclimatic variable values, we investigated the impact of climatic factors on the diversity of the ELF community. Multiple regression analysis revealed that BIO3, BIO4, BIO5, BIO7, BIO10, BIO11, BIO12, and BIO13 had significant positive or negative relationship to fungal richness (Table 1). Among significant variables, we checked multicollinearity with variance inflation factor (VIF). The variables other than BIO3 and BIO5 were excluded from the further analysis because their VIF values exceeded 20, indicating the presence of multicollinearity. The multiple regression analysis resumed showed that BIO3 (isothermality) was the most significant climatic factor negatively affecting fungal richness in the ELF communities (F1,88 = 12.23, r2 = 0.12, p = 0.007) (Fig. 4a). We explored the climatic factors influencing fungal diversity (Shannon diversity index, Table 2) using the same analysis method as above, and the results revealed that variables BIO5, BIO7, and BIO10 were significantly correlated with diversity of the ELF communities (F1,88 = 8.61, r2adj = 0.20, p = 4.64e-05) (Fig. 4a). These results suggested that isothermality, maximum temperature of the warmest month, temperature annual range, and mean temperature of the warmest quarter had a negative impact on the fungal diversity of the ELF communities.

Table 1 Multiple regression analysis result between fungal richness and climatic variables
Fig. 4
figure 4

Several bioclimatic factors played a role in shaping the diversity of the ELF community. (a) Investigating the relationship between fungal species richness (Chao1) and isothermality (BIO3). (b) Analyzing the correlation of fungal species diversity (Shannon), mean temperature of warmest quarter (BIO5), max temperature of warmest month (BIO7), and temperature annual range (BIO10). The topmost distribution and scatter plots displayed the data distribution for each variable and Spearman correlation value between variables. The right-side stacked bar plot illustrated the semi-partial correlations of each variable. By performing multiple regression analysis with statistical significance and confirming multicollinearity with variance inflation factor calculation, we extracted climate data that are significantly associated with fungal diversity. *** p < 0.005, ** p < 0.01, * p < 0.05

Table 2 Multiple regression analysis result between fungal diversity and climatic variables

The climatic factors played a role in shaping the prevalence of different types of fungal residents within the ELF community

The results of the chi-squared test revealed differences in the abundance of ELF across locations (Fig. 5a). After tracking the taxonomic composition of the fungi with differential frequencies, it was found that the fungi belonging to the order Capnodiales were dominant in both Locations A and C. Although Capnodiales fungi were also frequent in Location B, their dominance was relatively lower than that in other locations, while fungi belonging to the class Sordariomycetes were more frequent in Location B than in other locations. According to an analysis of the trophic mode of fungi based on their taxa, endolichenic/lichenicolous fungi were more abundant in Locations A and C, while pathotrophs/saprotrophs were more commonly observed in Location B compared to other areas. The fungal populations in these two groups displayed an inverse relationship in terms of their occurrence (F1,88 = 15.55, r2 = 0.15, p = 0.00002) (Fig. 5b). To explore the relationship between the abundance of the pathotroph/saprotroph groups and climatic factors, we conducted a multiple regression analysis. Among the four factors that demonstrated a significant correlation with fungal diversity, BIO3 was identified as the most significant predictor of the frequency of the pathotroph/saprotroph group (estimate = -88, p = 2.98e-05). To summarize, a downward trend in BIO3 corresponded to a rise in the abundance of the pathotroph/saprotroph group and a decline in the quantity of the endolichenic/lichenicolous group.

Fig. 5
figure 5

The prevalence of different types of fungal residents within the ELF community was shaped by climatic factors. (a) Differentially abundant fungal residents across locations were identified based on chi-squared test and visualized in volcano plot. The stacked bar plot, violin plot, and box plot demonstrated that the fungal composition of the ELF community was distinct among the three regions, with differences in both the taxonomic and ecological profiles. (b) Regression analyses and ternary plot showed a significant correlation of isothermality (BIO3), amount of Endolichenic/Lichenicolous and Pathotroph/Saprotroph sequence reads. **** p < 0.001, *** p < 0.005, ** p < 0.01, * p < 0.05

The relationship between climatic variables, fungal trophic mode abundance, and species diversity of the ELF community was explicated through the modeling approach

To integrate the regression equations analyzed above and provide an explanation of correlation of fungal community and climatic factors, we constructed a structure equation model (comparative fit index = 0.55, srmr = 0.19) (Fig. 6). Our findings suggest that the bioclimatic variables were associated with a reduction in the diversity of the elf community (coefficient = -0.30, p > 0.05) and changes in its member proportions (coefficient = 0.22, p < 0.05): the decrease in climatic variables isothermality (Spearman correlation = -0.22, p < 0.05) and max temperature of warmest month (Spearman correlation = -0.33, p < 0.01) was found to be related to an increase in pathotroph/saprotroph group, while the increase in temperature annual range was associated with an increase in endolichenic/lichenicolous members within the community (Spearman correlation = 0.23, p < 0.01). The altered demographic makeup of the ELF community membership played a crucial role in shaping the community diversity (coefficient = 0.21, p < 0.0001). We observed a correlation between increasing pathotroph/saprotroph and greater levels of both species richness and diversity within the ELF community. Taken together, a reduction in several climatic condition leaded to an increase in pathotroph and saprotroph colonization and lower abundance of endolichenic or lichenicolous group. As a consequence, the species diversity within the ELF community was enhanced.

Fig. 6
figure 6

Structural Equation Modeling (SEM) provided an analytical framework for understanding the relationships and causal pathways between variables bioclimatic variable, residents and diversity of the ELF community. We defined bioclimatic variables, resident type and diversity of the ELF community as latent variables and tested the correlations between them for both explanatory power (coefficient) and statistical significance (p value) using SEM analysis. In the diagram, the thick arrows indicated the coefficients between the latent variables, and the lines connecting the numeric variables represent the strength of the Spearman correlations. The color scheme in the diagram was chosen such that positive correlations were denoted by black lines and negative correlations by red lines

Discussion

With the increasing importance of microbiome research, there has been growing interest in ELF, but the factors that determine their community structure have remained elusive. Previously, it has been believed that ELF communities are formed horizontally and are influenced by environmental factors. Nonetheless, there has been not sufficient mathematical evidences and research trials, such as a combination of haplotype clustering of homogenous lichen hosts and various climatic data. To elucidate whether ELF community formation occurs vertically or horizontally, we collected same species of host lichen from different locations and investigated the relative impact of host and environmental factors on the ELF community structure.

The results of this study provided an evidence that the structure of the ELF community was significantly influenced by climate factors. Our analyses revealed that the presence of certain fungal groups within the lichen thalli varied in response to several climatic variables. Specifically, we observed that the abundance of pathotroph and saprotroph increased with decreasing isothermality. Other climatic factors including temperature annual range, mean and maximum temperature of warmest month also were found to affect fungal diversity on the ELF community, nonetheless, isothermality was considered to most powerful predictor shaping the structure of the ELF community. These findings are consistent with previous research indicating that ELF are highly adapted to their environment [10]. Fungal residents inside lichen thallus may have evolved specialized strategies to cope with different climatic conditions. For example, some fungal species may produce pigments to protect against high levels of UV radiation [57], while others may produce enzymes to break down complex organic matter in arid environments [58]. The observed changes in the structure of ELF can therefore be seen as adaptations to the specific environmental conditions present in the lichen thalli.

Isothermality in this study refers to the degree to which temperatures remain stable over time, with minimal seasonal variation, and high isothermality value represents large diurnal temperature range. Several fungi are known to be sensitive to changes in temperature [59, 60], and as such, isothermality may play an important role in shaping fungal community structure and function. Isothermality may therefore benefit fungal communities by providing a stable, predictable environment in which to grow and reproduce. This is particularly true for fungal symbionts that live in association with plants or other organisms, where temperature stability can help to maintain the delicate balance of the symbiotic relationship [61, 62]. At the same time, isothermality may also limit the range of fungal communities that can exist in a given environment.

It is a remarkable phenomenon how fungi occupying distinct ecological niches: endolichenic/lichenicolous and pathotroph/saprotroph clusters within the lichen exhibited different responses to fluctuations in climate. The Capnodiales and Chaetothyriales known as endolichenic/lichenicolous group [11] have one of the most distinctive features: the production of dark pigments, often in the form of melanin or related compounds [63]. These pigments can help to protect the fungus from environmental stressors such as UV radiation, and may also play a role in their ability to colonize a wide range of habitats, from soil and decaying plant material to living plant tissues and even insects [64,65,66]. Generally speaking, highly melanized fungi tend to be slow-growing, and may require longer incubation times than non-melanized species to reach maturity [67]. Furthermore, melanized fungi were reported to have a greater capacity to withstand fluctuations in temperature compared to non-melanized fungi [68].

Xylariales that act as opportunistic pathogens and Agaricales that are primarily saprotrophs are generally not considered to be highly melanized [69, 70]. While some species within these groups may produce small amounts of melanin, it is not a defining characteristic of these fungi. Instead, Xylariales are known for their ability to colonize a wide range of substrates and their development of specialized structures, such as stromata and perithecia [71].

Conclusion

The findings of this study highlight the importance of considering climate factors when studying the structure and function of ELF. Regarding the effect of host haplotype on the mycobiome inside lichen thalli, our results suggest that this factor may have a limited influence. Our findings indicate that highly melanized fungal residents exhibit a remarkable ability to withstand a wide range of temperatures, highlighting the role of melanin in thermal resilience. The relationship between fungi and climatic condition is complex and multifaceted, and may depend on a range of other factors such as soil moisture, nutrient availability, and thermal regimes. Further research is needed to explore the specific mechanisms by which climate factors affect fungal structure, and to develop strategies for mitigating the potential impacts of climate change on these important symbiotic organisms. In particular, studies investigating the potential for ELF adaptation to changing climatic conditions, and the potential for shifts in ELF communities to affect lichen functioning, would be valuable areas of future research. We anticipate that our research findings will lay the groundwork for various future ELF studies and contribute significantly to the field.