ABSTRACT
Androgenetic alopecia (AGA), the most common form of hair loss, has been linked to dysbiosis of the scalp microbiome. In this study, we collected microbiome samples from the frontal baldness and occipital regions of patients with varying stages of AGA and conducted a comprehensive analysis of bacterial and fungal communities using 16S rRNA and ITS1 sequencing. Our results revealed that although the scalp microbiome dynamics in healthy subjects correlated strongly with chronological age, this trend was disrupted in AGA patients due to severe microbial imbalances, emphasizing the significant impact of AGA on the scalp microecology. Notably, microbial dysbiosis was not confined to the localized areas of hair loss but extended across the entire scalp. Moreover, the degree of dysbiosis was consistent with the severity of AGA. Leveraging multi-kingdom microbial features and machine learning, we developed a microbial index of scalp health (MiSCH), which effectively detects AGA and stratifies its severity. More importantly, MiSCH was able to identify high-risk individuals, those with significantly disrupted microbiome structures but no overt AGA phenotypic characteristics, thereby offering opportunities for early diagnosis, risk assessment, and personalized treatment of AGA.
IMPORTANCE
By analyzing the bacteria and fungi on the scalp, this study shows how androgenetic alopecia (AGA) disrupts the balance of microbes not just in the hair loss areas, but across the entire scalp. Thus, we introduce the microbial index of scalp health (MiSCH), which leverages microbiome data for the early detection and severity prediction of AGA. This method is especially valuable for identifying people at risk of developing more severe hair loss, even before visible symptoms appear. By combining microbiome analysis with machine learning, this research offers a potential breakthrough for early diagnosis and personalized treatments, changing how we approach hair loss and offering new hope for managing the condition more effectively.
KEYWORDS: microbiome, scalp, skin, androgenetic alopecia, bioinformatics
INTRODUCTION
Androgenic alopecia (AGA) is a prevalent condition among Asians, with a male prevalence of approximately 21.3% in China. Over 250 million individuals in the country experience hair loss. Both men and women are affected by AGA, albeit with distinct patterns of hair loss and varying prevalence rates (1, 2). Globally, the number of individuals with hair loss is substantial. Factors such as irregular lifestyles, work-related stress, and societal pressures have contributed to an increased incidence of hair loss, with cases becoming more prevalent among younger populations. Consequently, there has been a significant rise in demand for anti-hair-loss products and medical interventions. Although AGA does not directly impact physical health, it severely affects mental well-being and quality of life (3). Early diagnosis and treatment are crucial, as they can significantly slow the progression of hair loss and improve the patient’s quality of life.
Characterized by the progressive miniaturization of hair follicles, AGA typically begins during adolescence or early adulthood. Repeated hair cycles in AGA shorten the anagen (growth) phase and increase the number of follicles in the telogen (resting) phase. Clinically, this results in thinning and shortening of hair, particularly in the frontal and parietal regions, eventually leading to scalp baldness (4–6). Numerous studies have demonstrated the involvement of genetic predisposition and hormonal alterations in the pathogenesis of AGA (7–9); however, research on monozygotic twins suggests that external factors also play a significant role in its progression (10). Environmental factors such as perifollicular inflammation, lifestyle stress, anxiety, and poor dietary habits can exacerbate AGA symptoms (11–13). Additionally, factors like sebum production and the microbial composition of the scalp further influence scalp health and hair loss (14, 15).
The skin, the body’s largest organ, serves as the primary barrier to environmental exposure and is colonized by a diverse array of microorganisms (16). The skin microbiome plays a critical role in maintaining skin and hair health (17, 18). It supports physiological homeostasis and protects against pathogen invasion (19). Emerging evidence has elucidated the relationship between the scalp microbiome and various scalp disorders, highlighting the contribution of microbial dysbiosis to conditions such as scalp allergies and hair loss (20). For instance, increased colonization by g__Propionibacterium in oily skin disrupts the skin barrier, exacerbating allergic reactions (21). Moreover, g__Propionibacterium, g__Staphylococcus, and g__Malassezia have been implicated in the pathogenesis of AGA and dandruff (22). Fungi such as g__Malassezia, g__Aspergillus, and g__Staphylococcus also serve as biomarkers for seborrheic dermatitis (23). These findings underscore the potential of the microbiome as a tool for better assessing and predicting disease states. However, the intricate interactions between AGA and the scalp microbiome remain poorly understood, warranting further investigation.
In this study, we collected scalp samples from 89 adult individuals, including healthy controls and patients with varying degrees of AGA (stages 3, 5, and 7; Fig. 1A). To characterize the bacterial and fungal communities, we employed 16S rRNA and ITS1 amplicon sequencing, followed by bioinformatic analysis to explore the potential role of the scalp microbiome in AGA pathogenesis and the interrelationships within microbial communities. The results revealed a strong correlation between scalp microbiome and host age in healthy subjects, which was disrupted in AGA patients due to severe microbial dysbiosis (Fig. 1B). Based on such fundamental microbial patterns, we developed a machine learning model based on multi-kingdom microbiome features to assess and predict AGA states (Fig. 1C). This model addresses the limitations of traditional clinical approaches, which typically focus on diagnosing and staging AGA without the ability to predict disease progression.
Fig 1.
Overall diagram of experiment design and data analysis. (A) Cohort design and sample collection. (B) Microbial profiling and diversity analysis. (C) Machine learning and risk prediction by machine learning-based microbial index of scalp health (MiSCH).
RESULTS
Cohort design
This study involved the collection of scalp samples from 89 male participants residing in Shandong Province, China, including healthy individuals (n = 51) and patients with varying degrees of androgenic alopecia (stage 3 n = 18, stage 5 n = 10, and stage 7 n = 10; Table S1). Samples were collected from two regions of the scalp: the frontal bald area (T) and the occipital area (H) of each participant, resulting in a total of 178 specimens. The subjects’ ages ranged from 20 to 60 years. To better investigate scalp microbiota differences across age groups, we divided the cohort into 5-year intervals. In addition to the scalp samples, clinical and physiological data, including age and disease status, were recorded. The microbial community of bacteria and fungi of each sample was surveyed by 16S rRNA and ITS1 amplicon sequencing, respectively, and produced 356 sequence samples in total. A detailed description of the experimental design, cohort recruitment, and sequencing workflows is provided in Materials and Methods.
Microbial age model reveals significant dysbiosis associated with AGA
As humans develop and age, the diversity and composition of the skin microbiome undergo significant changes. Previous work concluded that age is a key factor driving alterations in the skin microbiome (24) and also observed age-associated dynamics such as increases in p__Actinobacteria and p__Proteobacteria and a decline in o__Lactobacillales (25). Consistent with previous studies, the microbiome of healthy individuals in this study also exhibited significant changes across different age groups (Fig. S1 and S2). These findings indicate that the skin microbiome undergoes dynamic changes as the host matures (26, 27). However, it remains unclear whether androgenic alopecia onset or progression disrupts the healthy development of the scalp microbiome.
In this work, we first assessed the influence of various factors on the scalp microbiome within the experimental cohort. Beta-diversity analysis showed that disease status had a significantly greater influence on the bacterial microbiome compared with either scalp region or host age (Fig. 2A). For fungi, disease status and severity were also the dominant factors affecting the microbiome, far surpassing the effects of other factors (Fig. 2C). These results suggest that the scalp microbial structure in AGA patients is markedly different from that of healthy controls, with fungal communities being more sensitive to changes associated with hair loss than bacterial communities. The variance analysis of alpha diversity on the Shannon index also exhibited, consistent with these observations, that identified disease status as the strongest effect factor of the scalp microbiome (Table S2).
Fig 2.
The effect size of various factors on scalp microbiota. (A) Effects of androgenic alopecia (AGA), AGA stages, sampling location, and host age on bacterial microbiota composition, where * indicates P-value < 0.05, ** indicates P-value < 0.01, and NS denotes not significant. (B) Beta-diversity analysis of bacterial microbiota at different sampling locations (frontal bald area and occipital area) in healthy individuals and AGA patients. (C) Effects of AGA, AGA stages, sampling location, and host age on fungal microbiota composition, where * indicates P-value < 0.05, ** indicates P-value < 0.01, and NS denotes not significant. (D) Beta diversity analysis of fungal microbiota at different sampling locations in healthy individuals and AGA patients.
We also compared microbial composition between the two scalp regions (T versus H) in both AGA patients and healthy individuals. The microbiome of the two regions in AGA patients exhibited similar compositions but differed significantly from those of healthy controls (Fig. 2B and C). This finding indicates that microbial imbalances in AGA patients are not restricted to the hair loss areas but extend across the entire scalp.
Interestingly, although the microbial diversity in healthy individuals varied with age, the microbiome in AGA patients showed minimal age-related variation (Fig. 3A). Both bacterial and fungal community structures in AGA patients were less affected by age, highlighting the predominant influence of AGA on microbiome composition.
Fig 3.
Scalp microbial age. (A) Beta-diversity of scalp bacterial and fungal microbiome in healthy subjects and AGA patients of different ages, where * indicates P-value < 0.05, ** indicates P-value < 0.01, and NS denotes not significant. (B) Scalp microbial age curves of healthy people and AGA patients.
To further investigate the effects of AGA on the developmental trajectory of the scalp microbiome, we analyzed 102 scalp samples from healthy men aged 20–60 years. Using a robust random forest (RF) model (refer to Materials and Methods for details), we defined microbial age based on bacterial and fungal taxa. Cross-validation identified an optimal feature set, including five bacterial genera (g__Paracoccus, g__Micrococcus, g__Rothia, g__Propionibacterium, and g__Acinetobacter) and one fungal genus (g__Cladosporium), and these taxa were strongly correlated with the chronological age of the subjects (Table S3). This model revealed a strong correlation between microbial age and chronological age in healthy individuals, whereas the microbial age of AGA patients plateaued as the host’s age increased (Fig. 3B). The microbial age in AGA patients was significantly lower than that of healthy controls, indicating that AGA was associated with significant microbial dysbiosis, potentially contributed by disease progression.
Alterations in scalp microbial composition associated with AGA
The microbiome undergoes continuous changes during disease onset and progression (28–30), a pattern we also observed in the scalp microbiome of AGA patients. The Shannon index, which measures alpha-diversity, revealed that bacterial diversity in stage 3 AGA (AGA3) was comparable with that of healthy controls (Fig. 4A; Fig. S1). However, as hair loss severity increased, the Shannon index first rose, peaking at stage 5 (AGA5), before declining at stage 7 (AGA7). A similar trend was observed in fungal communities (Fig. 4A). We also measured the Chao1 index and Simpson index of the microbiome of healthy people and AGA patients at different stages and verified the above conclusions (Fig. S3). Beta-diversity analysis based on Jensen-Shannon divergence further demonstrated increasing deviations in microbial composition with advancing AGA severity. Healthy samples exhibited a closer microbial composition to AGA3 samples, whereas the distance between AGA3 and AGA5 samples, and AGA5 and AGA7 samples, grew progressively larger (Fig. 4B; Fig. S4).
Fig 4.
Variations in scalp microbial communities among healthy controls and patients with different stages of AGA. (A) Alpha-diversity analysis shows differences in bacterial and fungal communities between healthy individuals and patients at various stages of AGA, including changes in the Shannon index. (B) Principal coordinate analysis (PCoA) illustrates the clustering patterns of bacterial and fungal communities among healthy individuals and patients at various stages of AGA. (C) Composition of bacterial taxa at the genus level across healthy controls and AGA patients at different stages. (D) Composition of fungal taxa at the genus level across healthy controls and AGA patients at different stages.
Statistically significant differences were observed in the abundance of several bacterial genera (e.g., g__Propionibacterium and g__Corynebacterium) and fungal genera (e.g., g__Malassezia, g__Alternaria, and g__Aspergillus) between healthy individuals and those at various AGA stages. Many of these taxa displayed highly significant P-values that remained robust after false discovery rate (FDR) correction, highlighting their strong association with the onset and progression of AGA (Table S4). Further analysis revealed specific microbial shifts associated with AGA progression. The predominant genera in all groups were g__Propionibacterium and g__Corynebacterium, but dysbiosis was evident in AGA patients (Fig. 4C; Fig. S5). Specifically, g__Propionibacterium was enriched in AGA patients, likely driven by sebaceous gland hyperplasia, which provides lipids and fatty acids as substrates for g__Propionibacterium. The overgrowth of g__Propionibacterium may induce inflammatory responses, contributing to hair follicle miniaturization and exacerbating hair loss (14). Conversely, g__Corynebacterium abundance decreased with increasing AGA severity. In fungal communities, g__Alternaria remained at low abundance in healthy individuals and early AGA stages (AGA3), but its abundance increased significantly as hair loss progressed, surpassing 50% in AGA7 samples (Fig. 4D; Fig. S5). The lipophilic fungus g__Malassezia also declined in abundance as hair loss severity increased, whereas g__Aspergillus initially increased, peaking at AGA5, before decreasing.
These microbial dynamics highlight significant differences in the microbial composition between various stages of AGA, emphasizing the potential of the scalp microbiome as a biomarker for early AGA detection. Microbial shifts can effectively differentiate healthy individuals from patients with different stages of AGA, supporting the use of microbial profiling in AGA diagnosis and prognosis.
A machine learning-based index for AGA severity assessment
Although AGA is typically diagnosed based on clinical symptoms and characteristic hair loss patterns, variability in diagnosis and the progressive nature of the disorder can make prognosis challenging. Traditional diagnostic methods are limited in predicting disease progression, especially for patients with mild or moderate AGA. To address this limitation, we introduced the microbial index of scalp health (MiSCH), which combines a multi-class classification model with microbial community distance metrics to quantify AGA severity and predict disease risk.
First, we developed a random forest (RF) multi-class classification model using all 178 male scalp samples from healthy controls and AGA patients. To assess whether model performance was influenced by taxonomic annotations, we built classifiers at six taxonomic levels, ranging from kingdom to species, and evaluated performance using 10-fold cross-validation. We also evaluated classifiers based on bacterial features, fungal features, and combined bacterial and fungal features. The highest kappa value was achieved when bacterial and fungal data were integrated at the genus level (Fig. 5A).
Fig 5.
Construction and performance of the AGA multi-class classification model. (A) Model performance was evaluated across six taxonomic classification levels using bacterial, fungal, and combined bacterial and fungal features, respectively. (B) Feature importance ranking using a random forest model. The feature set was incrementally expanded according to the ranking results, with the top 22 bacterial and five fungal species identified as having the strongest multi-class classification ability. (C) Model performance was assessed over 10 iterations using different data splits, with the arithmetic mean of the one-vs-rest (OvR) area under the curve (AUC) values calculated for all classes in each test. (D) Average model performance across 10 test iterations, including metrics such as AUC, accuracy, and Cohen’s kappa, calculated using the OvR method.
To further optimize the model, we identified key biomarkers at the genus and species levels from the combined bacterial and fungal data sets. By selecting the top 27 most discriminative genera (22 bacterial and five fungal), we observed a peak in the kappa value (Fig. 5B). Additional taxa beyond these 27 did not significantly improve performance, suggesting these genera had the strongest discriminative ability and are optimal as AGA biomarkers. Notably, g__Macrococcus emerged as the most prominent biomarker, whereas fungal genera such as g__Alternaria and g__Malassezia also played critical roles in the model. It is interesting that the predictive power of multi-kingdom markers has also been validated by calculating the macro-averaged receiver operating characteristic (ROC) of multi-class classification models (Fig. 5C). Ultimately, we constructed a robust multi-class classification model that leveraged the combined bacterial and fungal microbiota (Fig. 5D).
Based on the RF model and Jensen-Shannon divergence across microbiota at different stages of AGA (refer to Materials and Methods for details), we established a microbial index of scalp health (MiSCH; Fig. 6A), which quantitatively measures the AGA severity. MiSCH produces an index score ranging from 0 to 100, with higher scores indicating a healthier scalp microbiome and lower scores associated with more severe AGA symptoms. The scores were divided into four categories: healthy group (100 ≥ MiSCH > 75), mild hair loss (75 ≥ MiSCH > 25), moderate hair loss (25 ≥ MiSCH > 15), and severe hair loss (15 ≥ MiSCH). A strong correlation was observed between MiSCH scores and clinical AGA assessments, confirming the index’s accuracy in distinguishing among AGA severity levels (Fig. 6B; ANOVA, F = 193.56, P-value = 3.40 × 10−55).
Fig 6.
Construction of MiSCH. (A) Based on the multi-class classification prediction results and the microbial distances between the healthy microbiome and different types of AGA microbiome, an index score (MiSCH) between 0 and 100 was obtained. (B) MiSCH scores were strongly correlated with AGA hair loss symptoms. (C) The microbiome structure similarity of high-risk samples identified by MiSCH was more akin to that of malignant samples, where * indicates P-value < 0.05, ** indicates P-value < 0.01, and NS denotes not significant. H-A3 represents healthy phenotype samples misdiagnosed as AGA3 by MiSCH, and A5-A7 represent samples misdiagnosed as AGA7 from an AGA5 phenotype by MiSCH.
Prediction of AGA risk by MiSCH
Interestingly, when applied to detect scalp samples, MiSCH identified certain samples that exhibited microbiome characteristics indicative of more severe AGA, which we refer to as “high-risk” samples. Despite these samples showing mild AGA symptoms based on hair loss patterns, their microbiome structure resembled that of more advanced AGA cases. In the experimental cohort, MiSCH classified 27 healthy samples as AGA3 (designated as H–A3) and 10 AGA5 samples as AGA7 (designated as A5–A7).
The microbiota of the A5–A7 samples showed greater similarity to that of AGA7 samples, with a closer Jensen-Shannon divergence between these more severe AGA microbiota. Adonis analysis revealed that the F for the comparison between A5–A7 and AGA7 microbiota was smaller (Fig. 6C), further supporting this similarity. Additionally, no significant difference in microbiome structure was found between H–A3 and AGA3 samples (Fig. 6C), emphasizing that the microbiota of high-risk samples more closely aligned with that of advanced AGA cases.
Among all 19 inconsistently identified samples between MiSCH and microbiota beta-diversity pattern, MiSCH exhibited strong discrimination ability with a weighted F1 score of 0.89 (specificity = 0.90, sensitivity = 0.73). In summary, even in the absence of visible changes to a subject’s hair phenotype, the scalp microbiome is already showing signs of disruption, signaling an early shift toward a more pathological microbiome state. Thus, MiSCH can serve as a valuable tool for predicting the future trajectory of AGA, allowing for early intervention before clinical symptoms become apparent.
Conclusion and discussion
This study provides compelling evidence for the role of the scalp microbiome in androgenetic alopecia (AGA) and proposes a novel microbiome-based index, MiSCH, for predicting AGA progression. By analyzing the microbial communities of the scalp in individuals with varying degrees of AGA, we have identified significant alterations in both bacterial and fungal compositions that correlate with disease severity. Our findings demonstrate that the scalp microbiome is not only disrupted in areas of active hair loss but is also altered across the entire scalp in AGA patients, with microbial dysbiosis serving as an early indicator of disease onset and progression.
Through detailed microbiome profiling, we observed that the disease status, rather than age or scalp region, had the most pronounced impact on both bacterial and fungal communities. The microbial structure in AGA patients exhibited a distinctive pattern compared with healthy controls, with certain genera, including g__Propionibacterium and g__Corynebacterium, showing notable shifts in abundance as the disease progressed. Importantly, we found that microbial diversity in AGA patients was less influenced by age, highlighting that the disease itself significantly alters the normal maturation process of the scalp microbiome.
Our approach incorporated both bacterial and fungal data, leading to the development of the Microbial Index of Scalp Health (MiSCH), a model that can accurately classify AGA stages and assess disease risk. By identifying key microbial biomarkers and constructing a robust multi-class classification model, we demonstrated that MiSCH provides a quantitative measure of AGA severity. The model showed excellent predictive power, with a strong correlation between microbiome-derived MiSCH scores and clinical evaluations of AGA severity. More importantly, MiSCH was able to identify “high-risk” patients, whose microbiome was already showing signs of severe AGA despite their clinical presentation indicating mild or no hair loss. This underscores the potential of microbiome-based tools to detect AGA in its earliest stages and predict its future progression.
The implications of this study are significant for both the early diagnosis and management of AGA. Traditional diagnostic approaches, which are primarily based on clinical appearance and patient history, are limited in predicting disease progression. The introduction of MiSCH provides a powerful alternative, enabling clinicians to identify at-risk individuals before visible symptoms of AGA become apparent. Furthermore, this microbiome-based model could be used to monitor treatment efficacy and guide personalized therapeutic interventions. For example, the microbial diversity (Fig. 4B; Fig. S4) shows only subtle differences between healthy individuals and those with stage 3 AGA, suggesting that stage 3 may represent a window for early diagnosis and intervention. Initiating treatment at this stage may potentially slow or halt disease progression and also enable restoration of the scalp microbiome to a healthier state with minimal intervention. This possibility warrants further validation through longitudinal or interventional studies.
Although our findings provide strong evidence for the role of the scalp microbiome in AGA, several questions remain. Future research should focus on the causal relationships between microbial dysbiosis and hair loss. It is still unclear whether the changes in the microbiome are a direct cause of AGA or a consequence of the disease. Additionally, although our study emphasizes the importance of specific microbial genera, the interactions within the microbiome as a whole, such as the relationship between bacteria and fungi, warrant further exploration. Understanding these interactions could enhance our ability to target the microbiome for therapeutic purposes.
In conclusion, this study highlights the significant role of the scalp microbiome in AGA and presents MiSCH as a promising tool for diagnosing and predicting the progression of this common condition. By leveraging microbiome data, clinicians can gain deeper insights into the pathophysiology of AGA, enabling more accurate risk assessments, earlier interventions, and personalized treatments. Moving forward, the integration of microbiome-based diagnostics in clinical practice has the potential to revolutionize the management of AGA and offer new avenues for therapeutic development.
MATERIALS AND METHODS
Experimental design and sample collection
A cohort consisting of 38 male patients with varying stages of AGA and 51 healthy male controls was recruited from Shandong, China. We selected subjects at AGA stages 3, 5, and 7 based on criteria including key disease progression stages, inter-group significance, and sample availability. According to the Hamilton-Norwood classification (31), these stages represent mild, moderate, and severe hair loss, respectively, with stage 3 marking the onset of visible hair thinning, and stages 5 and 7 reflecting advanced AGA with notable changes. This targeted selection enabled us to capture meaningful microbiota differences while avoiding over-fragmentation that would reduce model stability and usability. AGA diagnoses were made by expert dermatologists from the Affiliated Hospital of Qingdao University, based on the Hamilton-Norwood (31) classification. Exclusion criteria included individuals with skin diseases other than AGA and those who had used drugs to promote hair regeneration or slow the progression of hair loss. Subjects were instructed not to wash their hair or wipe their scalp with a wet towel from the evening before sample collection until the day of collection. Additionally, they were asked to avoid making major changes to their daily routines (e.g., strenuous exercise). Each participant’s scalp was examined, and samples were collected from both the frontal hair loss area and the posterior scalp. The scalp samples were sent to the hospital within 24 h of collection and stored at −80°C until further processing. A total of 178 scalp skin specimens from 89 subjects were included for subsequent data analysis.
DNA extraction, sequencing, and data processing
A total of 178 scalp specimens were collected for DNA extraction, 16S rRNA amplicon sequencing, and ITS1 sequencing. Genomic DNA was extracted from the skin specimens using the TIANamp Swab DNA Kit (TIANGEN, Inc., China), following the manufacturer’s instructions. Universal primers were employed to amplify the bacterial 16S rRNA gene (v1-v3 region) and the fungal ITS1 region. The resulting PCR products were automatically purified using the Agencourt AMPure XP (Beckman Coulter, Inc., USA) nucleic acid purification kit.
The purified PCR products were then constructed into libraries using the NEB Next Ultra II DNA Library Prep Kit (New England Biolabs, Inc., USA). 16S and ITS1 sequencing were performed on the Illumina MiSeq and NovaSeq 6000 platforms (Illumina, Inc., USA), respectively, using paired-end sequencing strategies (PE300 and PE250). A total of 356 sequence samples were produced (178 16S and 178 ITS1).
RAW sequencing data were processed using QIIME (32) (v1.8.0) software, which sorted the sequences based on barcode sequences. The data were then filtered and spliced using the PEAR (33) (v0.9.6) software, removing sequences with scores lower than 20, ambiguous bases, or primer mismatches. The minimum overlap for splicing was set to 10 bp, and the mismatch rate was set to 0.1.
For the 16S rRNA gene data, sequences shorter than 230 bp were removed after splicing, and chimeric sequences were identified and discarded using the UCHIME (34) method, based on the Gold Database. For ITS1 sequences, sequences shorter than 120 bp were removed post-splicing, and chimeric sequences were eliminated using the UCHIME method, based on the Unite database. OTU clustering and species annotation were performed using the Parallel-Meta Suite (35) (v3.7.3). The representative OTU sequences for 16S rRNA were compared against the Greengenes database (v13.8), whereas the ITS1 OTUs were compared against the Unite database (v8.2).
Comprehensive analysis of scalp microbiota
Alpha-diversity was assessed using the Shannon index, Simpson index, and Chao1 index, based on genus-level profiles (36). We performed multiple linear regression analysis and analysis of variance for each categorical variable and exported statistical significance (P-value) to quantify the relative contribution of each factor to the alpha-diversity of the scalp microbiome. The statistical significance between groups was evaluated using the Wilcoxon rank-sum test, and the Spearman correlation coefficient was used for correlation analysis. To assess the dissimilarity between samples, the Jensen-Shannon divergence (37) was calculated. Additionally, the Adonis analysis (also known as permutation multivariate analysis of variance [PERMANOVA]) was performed to evaluate the statistical significance of beta diversity and the effect size of host variables. A P-value threshold of 0.01 was set for statistical significance. In PCoA analysis, we draw circles or ellipses with 85% confidence intervals to show the range of variation and distribution trends within the group. All diversity and statistical analysis procedures were conducted using Parallel-Meta Suite (v3.7.3).
Construction of the microbial age model
To investigate the microbial age of the scalp microbiome, we analyzed a data set of healthy individuals aged 20–60 years. A regression model was constructed using genus-level bacterial and fungal taxa along with the host’s chronological age, implemented via the RandomForestRegressor module (v3.11.8) in Python. Microbial age was then estimated using this model. To identify key microbial features, we calculated Gini importance scores via the feature_importances_ attribute. For robustness, 90% of the samples were randomly selected for each iteration of feature ranking, and this process was repeated 10 times. The final feature importance ranking was obtained by averaging the scores across these iterations. Based on this ranking, features were incrementally added to the model, and 10-fold cross-validation was used to evaluate performance at each step. This iterative process led to the identification of an optimal feature set comprising both bacterial and fungal genera. Using this refined feature set, we constructed a robust random forest model capable of accurately predicting microbial age based on microbiome composition.
Predictive modeling of the onset of AGA
A multi-class classification model was implemented using Python 3.11.8, utilizing standard library implementations: pandas (v2.2.1), numpy (v1.26.4), scikit-learn (v1.4.1), and matplotlib (v3.8.3). Random forest was employed as the classification model with default parameters to diagnose varying stages of AGA severity based on the classification of scalp bacterial, fungal, and combined bacterial-fungal microbiota. Stratified K-fold cross-validation was performed with 10-fold, and the Cohen’s kappa score was used to evaluate the performance of the model at different taxonomic levels for each kingdom and species classification.
The genus level of the bacterial-fungal microbiota demonstrated the best classification accuracy. At the genus level, the feature_importances_ function was used to select the 27 bacterial and fungal species with the highest classification ability. For each phenotype, the samples were randomly divided into training and test sets, with the training set comprising 70% of the total samples (178 samples in total). The samples from the H site and T site of the same individual were assigned exclusively to either the training set or the test set. For hyperparameter tuning, we first conducted a broad search of 200 parameter combinations using RandomizedSearchCV, then refined our results with an exhaustive GridSearchCV over 648 configurations within a narrower range (Table S5). This data partitioning process was repeated 10 times, and the average performance across the 10 test sets was used as the final model performance to predict the severity of AGA.
Construction of MiSCH
The comprehensive microbial distance was calculated by integrating normalized relative abundance tables of bacterial and fungal taxa into a unified data set. Using this data set, the Jensen-Shannon divergence was employed to measure the differences in microbial composition between samples with varying stages of AGA.
We analyzed data from 178 healthy individuals and AGA patients, using genus-level information to construct a multi-class classification model based on the optimal multi-kingdom microbiota. The data set was randomly divided into training (70%) and testing (30%) sets, and we assigned a unique number to each subject to ensure that samples from different scalp regions of the same subject were exclusively assigned to the training or testing set. The trained model generated probability distributions for each AGA severity category, producing a multi-category probability array for each sample. This process was repeated 20 times, and the average probabilities were used as the final predicted probabilities for each category.
Unlike models that directly output a symptom label, our health index integrates microbial distances between the healthy microbiome and the comprehensive microbiome associated with different AGA severities. We calculated the Jensen-Shannon divergence between each healthy sample and each sample within a given AGA stage group. The average of all pairwise distances was then used to represent the overall microbial distance between that AGA group and the healthy control group. This distance is used as a weight, combined with the probabilities of each category label derived from the multi-class classification model, to produce an index score ranging from 0 to 100. This prediction score reflects the association between microbiome composition and AGA severity.
To ensure MiSCH’s effectiveness in distinguishing among AGA severity levels, we defined score intervals corresponding to four categories: healthy group (100 ≥ MiSCH > 75), mild hair loss (75 ≥ MiSCH > 25), moderate hair loss (25 ≥ MiSCH > 15), and severe hair loss (15 ≥ MiSCH). These thresholds ensure a high degree of accuracy in differentiating between health and various stages of AGA.
In evaluating overall scalp health, we prioritized the lower of the two MiSCH scores derived from the frontal and occipital regions. A lower MiSCH score indicates more severe microbial dysbiosis and is therefore considered a more accurate reflection of disease severity. This approach allows for a more conservative and clinically relevant assessment of AGA risk.
ACKNOWLEDGMENTS
All authors thank Mr. Yi Zhao from Qingdao University for the support of computing resources.
X.S. acknowledges support of grant 2021YFF0704500 from the National Key Research and Development Program of China, grant 32070086 from the National Natural Science Foundation of China, Shandong Province Youth Entrepreneurial Talent Introduction and Training Program, and Shandong Province Taishan Scholars Youth Experts Program. Y.S. acknowledges support of grant 82003374 from the National Natural Science Foundation of China, grant ZR2020QH139 from the Natural Science Foundation of Shandong Province.
X.S. and Y.S. conceived and designed the project. X.W. and Y.S. designed the algorithms and workflow. F.L., X.W., and Y.S. collected the microbiome samples. X.W., F.M., and J.Z. performed the data analysis. X.S. and X.W. drafted the manuscript. All authors read and approved the final manuscript.
Contributor Information
Yaolin Song, Email: ylsong1010@qdu.edu.cn.
Xiaoquan Su, Email: suxq@qdu.edu.cn.
Gail Rosen, Drexel University, Philadelphia, Pennsylvania, USA.
DATA AVAILABILITY
The sequence data in this study have been submitted to the Sequence Read Archive (https://www.ncbi.nlm.nih.gov/sra) and can be accessed through the BioProject number PRJNA1223116. The Strengthening the Organizing and Reporting of Microbiome Studies (STORMS) checklist is available at https://doi.org/10.5281/zenodo.15208862. Source codes and scripts for data analysis are available at the GitHub repository at https://github.com/qdu-bioinfo/MiSCH.
ETHICS APPROVAL
This study protocol, including all procedures and data collection, was submitted for approval by the Medical Ethics Committee (approval number: QYFYWZLL29675), and all participants underwent the informed consent procedure.
SUPPLEMENTAL MATERIAL
The following material is available online at https://doi.org/10.1128/msystems.00548-25.
Fig. S1 to S5; Tables S1 to S5.
ASM does not own the copyrights to Supplemental Material that may be linked to, or accessed through, an article. The authors have granted ASM a non-exclusive, world-wide license to publish the Supplemental Material files. Please contact the corresponding author directly for reuse.
REFERENCES
- 1. Wang TL, Zhou C, Shen YW, Wang XY, Ding XL, Tian S, Liu Y, Peng GH, Xue SQ, Zhou JE, Wang RL, Meng XM, Pei GD, Bai YH, Liu Q, Li H, Zhang JZ. 2010. Prevalence of androgenetic alopecia in China: a community-based study in six cities. Br J Dermatol 162:843–847. doi: 10.1111/j.1365-2133.2010.09640.x [DOI] [PubMed] [Google Scholar]
- 2. Xu F, Sheng Y-Y, Mu Z-L, Lou W, Zhou J, Ren Y-T, Qi S-S, Wang X-S, Fu Z-W, Yang Q-P. 2009. Prevalence and types of androgenetic alopecia in Shanghai, China: a community-based study. Br J Dermatol 160:629–632. doi: 10.1111/j.1365-2133.2008.08909.x [DOI] [PubMed] [Google Scholar]
- 3. Huang CH, Fu Y, Chi CC. 2021. Health-related quality of life, depression, and self-esteem in patients with androgenetic alopecia: a systematic review and meta-analysis. JAMA Dermatol 157:963–970. doi: 10.1001/jamadermatol.2021.2196 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4. Drake LA, Dinehart SM, Farmer ER, Goltz RW, Graham GF, Hordinsky MK, Lewis CW, Pariser DM, Webster SB, Whitaker DC, Butler B, Lowery BJ, Price VH, Baden H, DeVillez RL, Olsen E, Shupack JL. 1996. Guidelines of care for androgenetic alopecia. American academy of dermatology. J Am Acad Dermatol 35:465–469. doi: 10.1016/S0190-9622(96)90627-1 [DOI] [PubMed] [Google Scholar]
- 5. Olsen EA. 2003. Current and novel methods for assessing efficacy of hair growth promoters in pattern hair loss. J Am Acad Dermatol 48:253–262. doi: 10.1067/mjd.2003.81 [DOI] [PubMed] [Google Scholar]
- 6. Olsen EA, et al. 2005. Evaluation and treatment of male and female pattern hair loss. J Am Acad Dermatol 52:301–311. doi: 10.1016/j.jaad.2004.04.008 [DOI] [PubMed] [Google Scholar]
- 7. Severi G, et al. 2003. Androgenetic alopecia in men aged 40-69 years: prevalence and risk factors. Br J Dermatol 149:1207–1213. doi: 10.1111/j.1365-2133.2003.05565.x [DOI] [PubMed] [Google Scholar]
- 8. Yap CX, et al. 2018. Dissection of genetic variation and evidence for pleiotropy in male pattern baldness. Nat Commun 9:5407. doi: 10.1038/s41467-018-07862-y [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9. Acibucu F, Kayatas M, Candan F. 2010. The association of insulin resistance and metabolic syndrome in early androgenetic alopecia. Singapore Med J 51:931–936. [PubMed] [Google Scholar]
- 10. Gatherwright J, Liu MT, Amirlak B, Gliniak C, Totonchi A, Guyuron B. 2013. The contribution of endogenous and exogenous factors to male alopecia: a study of identical twins. Plast Reconstr Surg 131:794e–801e. doi: 10.1097/PRS.0b013e3182865ca9 [DOI] [PubMed] [Google Scholar]
- 11. Hadshiew IM, Foitzik K, Arck PC, Paus R. 2004. Burden of hair loss: stress and the underestimated psychosocial impact of telogen effluvium and androgenetic alopecia. J Invest Dermatol 123:455–457. doi: 10.1111/j.0022-202X.2004.23237.x [DOI] [PubMed] [Google Scholar]
- 12. Rushton DH. 2002. Nutritional factors and hair loss. Clin Exp Dermatol 27:396–404. doi: 10.1046/j.1365-2230.2002.01076.x [DOI] [PubMed] [Google Scholar]
- 13. Paus R, Cotsarelis G. 1999. The biology of hair follicles. N Engl J Med 341:491–497. doi: 10.1056/NEJM199908123410706 [DOI] [PubMed] [Google Scholar]
- 14. Ho BS-Y, Ho EXP, Chu CW, Ramasamy S, Bigliardi-Qi M, de Sessions PF, Bigliardi PL. 2019. Microbiome in the hair follicle of androgenetic alopecia patients. PLoS One 14:e0216330. doi: 10.1371/journal.pone.0216330 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15. Suzuki K, Inoue M, Cho O, Mizutani R, Shimizu Y, Nagahama T, Sugita T. 2021. Scalp microbiome and sebum composition in Japanese male individuals with and without androgenetic alopecia. Microorganisms 9:10. doi: 10.3390/microorganisms9102132 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16. Costello EK, Lauber CL, Hamady M, Fierer N, Gordon JI, Knight R. 2009. Bacterial community variation in human body habitats across space and time. Science 326:1694–1697. doi: 10.1126/science.1177486 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17. Chen YE, Fischbach MA, Belkaid Y. 2018. Skin microbiota-host interactions. Nature 553:427–436. doi: 10.1038/nature25177 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18. Harris-Tryon TA, Grice EA. 2022. Microbiota and maintenance of skin barrier function. Science 376:940–945. doi: 10.1126/science.abo0693 [DOI] [PubMed] [Google Scholar]
- 19. Belkaid Y, Tamoutounour S. 2016. The influence of skin microorganisms on cutaneous immunity. Nat Rev Immunol 16:353–366. doi: 10.1038/nri.2016.48 [DOI] [PubMed] [Google Scholar]
- 20. Grimshaw SG, Smith AM, Arnold DS, Xu E, Hoptroff M, Murphy B. 2019. The diversity and abundance of fungi and bacteria on the healthy and dandruff affected human scalp. PLoS One 14:e0225796. doi: 10.1371/journal.pone.0225796 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21. Saxena R, Mittal P, Clavaud C, Dhakan DB, Hegde P, Veeranagaiah MM, Saha S, Souverain L, Roy N, Breton L, Misra N, Sharma VK. 2018. Comparison of healthy and dandruff scalp microbiome reveals the role of commensals in scalp health. Front Cell Infect Microbiol 8:346. doi: 10.3389/fcimb.2018.00346 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22. Huang J, Ran Y, Pradhan S, Yan W, Dai Y. 2019. Investigation on microecology of hair root fungi in androgenetic alopecia patients. Mycopathologia 184:505–515. doi: 10.1007/s11046-019-00345-8 [DOI] [PubMed] [Google Scholar]
- 23. Lin Q, Panchamukhi A, Li P, Shan W, Zhou H, Hou L, Chen W. 2021. Malassezia and Staphylococcus dominate scalp microbiome for seborrheic dermatitis. Bioprocess Biosyst Eng 44:965–975. doi: 10.1007/s00449-020-02333-5 [DOI] [PubMed] [Google Scholar]
- 24. Dimitriu PA, Iker B, Malik K, Leung H, Mohn WW, Hillebrand GG. 2019. new insights into the intrinsic and extrinsic factors that shape the human skin microbiome. mBio 10:e00839-19. doi: 10.1128/mBio.00839-19 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25. Lehtimäki J, Karkman A, Laatikainen T, Paalanen L, von Hertzen L, Haahtela T, Hanski I, Ruokolainen L. 2017. Patterns in the skin microbiota differ in children and teenagers between rural and urban environments. Sci Rep 7:45651. doi: 10.1038/srep45651 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26. Martino C, Dilmore AH, Burcham ZM, Metcalf JL, Jeste D, Knight R. 2022. Microbiota succession throughout life from the cradle to the grave. Nat Rev Microbiol 20:707–720. doi: 10.1038/s41579-022-00768-z [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27. Korpela K, Helve O, Kolho K-L, Saisto T, Skogberg K, Dikareva E, Stefanovic V, Salonen A, Andersson S, de Vos WM. 2020. maternal fecal microbiota transplantation in cesarean-born infants rapidly restores normal gut microbial development: a proof-of-concept study. Cell 183:324–334. doi: 10.1016/j.cell.2020.08.047 [DOI] [PubMed] [Google Scholar]
- 28. Bromfield JI, Zaugg J, Straw RC, Cathie J, Krueger A, Sinha D, Chandra J, Hugenholtz P, Frazer IH. 2024. Characterization of the skin microbiome in normal and cutaneous squamous cell carcinoma affected cats and dogs. mSphere 9:e00555-23. doi: 10.1128/msphere.00555-23 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29. P. Gomes PW, Mannochio-Russo H, Mao J, Zhao HN, Ancira J, Tipton CD, Dorrestein PC, Li M. 2024. Co-occurrence network analysis reveals the alterations of the skin microbiome and metabolome in adults with mild to moderate atopic dermatitis. mSystems 9:e01119–23. doi: 10.1128/msystems.01119-23 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30. van Rensburg JJ, Lin H, Gao X, Toh E, Fortney KR, Ellinger S, Zwickl B, Janowicz DM, Katz BP, Nelson DE, Dong Q, Spinola SM. 2015. the human skin microbiome associates with the outcome of and is influenced by bacterial infection. mBio 6:e01315-15. doi: 10.1128/mBio.01315-15 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31. Norwood OT. 1975. Male pattern baldness: classification and incidence. South Med J 68:1359–1365. doi: 10.1097/00007611-197511000-00009 [DOI] [PubMed] [Google Scholar]
- 32. Caporaso JG, Kuczynski J, Stombaugh J, Bittinger K, Bushman FD, Costello EK, Fierer N, Peña AG, Goodrich JK, Gordon JI, et al. 2010. QIIME allows analysis of high-throughput community sequencing data. Nat Methods 7:335–336. doi: 10.1038/nmeth.f.303 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33. Zhang J, Kobert K, Flouri T, Stamatakis A. 2014. PEAR: a fast and accurate illumina paired-end reAd mergeR. Bioinformatics 30:614–620. doi: 10.1093/bioinformatics/btt593 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34. Edgar RC, Haas BJ, Clemente JC, Quince C, Knight R. 2011. UCHIME improves sensitivity and speed of chimera detection. Bioinformatics 27:2194–2200. doi: 10.1093/bioinformatics/btr381 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35. Chen Y, Li J, Zhang Y, Zhang M, Sun Z, Jing G, Huang S, Su X. 2022. Parallel-meta suite: interactive and rapid microbiome data analysis on multiple platforms. Imeta 1:e1. doi: 10.1002/imt2.1 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36. Liu Y-X, Qin Y, Chen T, Lu M, Qian X, Guo X, Bai Y. 2021. A practical guide to amplicon and metagenomic analysis of microbiome data. Protein Cell 12:315–330. doi: 10.1007/s13238-020-00724-8 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37. Koren O, Knights D, Gonzalez A, Waldron L, Segata N, Knight R, Huttenhower C, Ley RE. 2013. A guide to enterotypes across the human body: meta-analysis of microbial community structures in human microbiome datasets. PLoS Comput Biol 9:e1002863. doi: 10.1371/journal.pcbi.1002863 [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Fig. S1 to S5; Tables S1 to S5.
Data Availability Statement
The sequence data in this study have been submitted to the Sequence Read Archive (https://www.ncbi.nlm.nih.gov/sra) and can be accessed through the BioProject number PRJNA1223116. The Strengthening the Organizing and Reporting of Microbiome Studies (STORMS) checklist is available at https://doi.org/10.5281/zenodo.15208862. Source codes and scripts for data analysis are available at the GitHub repository at https://github.com/qdu-bioinfo/MiSCH.






