{'fraction_non_alphanumeric': 0.033190224570673714, 'fraction_numerical': 0.012742184059885513, 'mean_word_length': 5.16822271261246, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
The Effects of Ecological Factors on the Main Medicinal Components of Dendrobium officinale under Different Cultivation Modes

Dendrobium officinale is an important traditional Chinese medicinal plant and crop, which contains many kinds of medicinal components. The quality of medicinal plants is closely related to the ecological factors in a growing environment. The main components of D. officinale determined in this study were polysaccharides, total alkaloids and total flavonoids. In addition, this study dealt with the correlation of these components to 16 ecological factors under three different cultivation modes (Greenhouse, Bionic, Wild; Lu’an, Anhui Province, China). The relationship between ecological factors and quality factors was analyzed step by step using correlation analysis, principal component analysis and stepwise multiple linear regression. Eight ecological factors: maximum relative humidity, minimum relative humidity, maximum temperature, sunshine duration, soil pH, soil total nitrogen, soil total phosphorus and soil available phosphorus were considered as key factors that influenced the main medicinal qualities of cultivated D. officinale. This study provides an insight for exploring the complex relationship between ecological factors and D. officinale medicinal value in artificial cultivation.


Introduction
Dendrobium is a perennial medicinal plant belonging to Orchids family in plant taxonomy, and it is one the largest genera in Orchidaceae, comprising approximately 1500-2000 species distributed in the tropical and subtropical regions of Asia and North Australia [1,2]. In China, there are 74 species and two varieties of Dendrobium [3], mainly distributed in Anhui, Zhejiang, Fujian and other places in China, which contain polysaccharides, alkaloids, flavonoids, essential amino acids and some trace mineral elements [4,5]. It has been documented as a high-grade drug in Shennong's Herbal, as the stems of Dendrobium have been used to make a tonic or a functional medicine to nourish the stomach, relieve throat inflammation, improve eyesight and promote body fluid production in Chinese medicine for thousands of years [6,7]. Among the medicinal species, Dendrobium officinale is officially listed in the Pharmacopoeia of the People's Republic of China (2010 Edition, Chinese Pharmacopoeia Commission, 2010) [8], which is rich for polysaccharides, and its dried stems can be directly used or twisted like a spring named "Tiepi Fengdou" [7]. D. officinale metabolites including organic acids, amino acids Shawnee Mission, KS) medium [18] adding 6-BA 0.1 mg·L −1 , NAA 0.5 mg·L −1 and 1% additives (30 g·L −1 sucrose + 4 g·L −1 agar + 20% potato) (Sigma-Aldrich, St Louis, MO, USA). After 18 months, the plants were separately transplanted into pots to cultivate. Wild D. officinale plants were collected from the edge of cliff. The wild 2-year-old D. officinale were authenticated by Professor Jinchi Zhang and all the plants were deposited at the College of Forestry in Nanjing Forestry University, Nanjing, China. Due to the scarcity of wild D. officinale resources, it was difficult to collect samples; thus, we could only do three replicates for each plant. The wild D. officinale collection method is to fasten to the top of the cliff with a rope, then tie the other side to people and climb down to collect plants.
After removal of roots and leaves, we obtained stem samples. Stems were collected from 2-year-old D. officinale plants. All stem samples were washed with pure water, placed in a 60 • C and oven dried to constant weight and then crushed and sieved for the extraction of polysaccharide, total alkaloid and total flavonoid in March 2018.

Experimental Design
We selected three different cultivation modes in the Ta-pieh Mountains area ( Figure 1). The greenhouse cultivation mode involves the application of an intelligent control system to the greenhouse cultivation, using the most advanced bio-simulation technology to simulate the environment most suitable for plant growth in the greenhouse. Temperature, humidity, CO 2 and illuminance sensors are used to sense various environmental indicators in the greenhouse, and the water curtain, fan and sun visor facilities in the shed are monitored by the microcomputer (Microsoft, Redmond, WA, USA) to change the biological growth environment inside the greenhouse (Figure 2A(a-c)). Bionic cultivation mode involves the building of a simple greenhouse around the natural environment where the wild D. officinale grows. Except for the simple sunshade and planting in a pot, the other environment conditions are similar to the wild D. officinale growth environment ( Figure 2B(a-c)). Wild cultivation mode involves looking for natural growth of wild D. officinale in the Ta-pieh Mountains, which is often difficult to find and is collected along cliffs ( Figure 2C(a-c)). We collected the two-year-old D. officinale in these three different cultivation modes, and determined the main medicinal components and collected the different ecological factors data in these three environments for analysis. months, the plants were separately transplanted into pots to cultivate. Wild D. officinale plants were collected from the edge of cliff. The wild 2-year-old D. officinale were authenticated by Professor Jinchi Zhang and all the plants were deposited at the College of Forestry in Nanjing Forestry University, Nanjing, China. Due to the scarcity of wild D. officinale resources, it was difficult to collect samples; thus, we could only do three replicates for each plant. The wild D. officinale collection method is to fasten to the top of the cliff with a rope, then tie the other side to people and climb down to collect plants.
After removal of roots and leaves, we obtained stem samples. Stems were collected from 2-yearold D. officinale plants. All stem samples were washed with pure water, placed in a 60 °C and oven dried to constant weight and then crushed and sieved for the extraction of polysaccharide, total alkaloid and total flavonoid in March 2018.

Experimental Design
We selected three different cultivation modes in the Ta-pieh Mountains area ( Figure 1). The greenhouse cultivation mode involves the application of an intelligent control system to the greenhouse cultivation, using the most advanced bio-simulation technology to simulate the environment most suitable for plant growth in the greenhouse. Temperature, humidity, CO2 and illuminance sensors are used to sense various environmental indicators in the greenhouse, and the water curtain, fan and sun visor facilities in the shed are monitored by the microcomputer (Microsoft, Redmond, WA, USA) to change the biological growth environment inside the greenhouse ( Figure  2A(a-c)). Bionic cultivation mode involves the building of a simple greenhouse around the natural environment where the wild D. officinale grows. Except for the simple sunshade and planting in a pot, the other environment conditions are similar to the wild D. officinale growth environment ( Figure  2B(a-c)). Wild cultivation mode involves looking for natural growth of wild D. officinale in the Tapieh Mountains, which is often difficult to find and is collected along cliffs ( Figure 2C(a-c)). We collected the two-year-old D. officinale in these three different cultivation modes, and determined the main medicinal components and collected the different ecological factors data in these three environments for analysis.

Climate Factors
Three automatic five-channel data loggers (EM-50, Decagon Devices Inc, Pullman, WA, USA) were installed, respectively, at the sites indicated in Figure 2A(d),B(d),C(d) and data were collected in half an hour interval. Net radiation was assessed with a PYR solar radiation sensor (Decagon Devices Inc., Pullman, WA, USA), air temperature and relative humidity were assessed with a VP-3 vapor pressure (EHT: relative humidity and temperature sensor, Decagon Devices Inc, Decagon Devices Inc., Pullman, WA, USA, accuracy ± 2% from 5 to 90% RH, ±3% from 90%-100% RH). These three sensors were placed in good contact with the microenvironment. The data record started from September 2017 to August 2019 for two years.

Soil Factors
For soil samples collected, the surface mulch was removed, and 500 g soil samples from 20 cm deep of topsoil were obtained from every root digging location, mixed fully, packed and labeled. The collected soil samples were removed from the obvious coarse impurities and placed in an ice box for temporary storage and brought back to the laboratory in time. The fresh sample was sieved through a 2 mm mesh to remove debris such as gravel and roots and then mixed well. A portion was stored in a refrigerator at 4 °C for pH, ammonium nitrogen and nitrate nitrogen content and determination

Climate Factors
Three automatic five-channel data loggers (EM-50, Decagon Devices Inc, Pullman, WA, USA) were installed, respectively, at the sites indicated in Figure 2(A(d),B(d),C(d)) and data were collected in half an hour interval. Net radiation was assessed with a PYR solar radiation sensor (Decagon Devices Inc., Pullman, WA, USA), air temperature and relative humidity were assessed with a VP-3 vapor pressure (EHT: relative humidity and temperature sensor, Decagon Devices Inc, Decagon Devices Inc., Pullman, WA, USA, accuracy ± 2% from 5 to 90% RH, ±3% from 90%-100% RH). These three sensors were placed in good contact with the microenvironment. The data record started from September 2017 to August 2019 for two years.

Soil Factors
For soil samples collected, the surface mulch was removed, and 500 g soil samples from 20 cm deep of topsoil were obtained from every root digging location, mixed fully, packed and labeled. The collected soil samples were removed from the obvious coarse impurities and placed in an ice box for temporary storage and brought back to the laboratory in time. The fresh sample was sieved through a 2 mm mesh to remove debris such as gravel and roots and then mixed well. A portion was stored in a refrigerator at 4 • C for pH, ammonium nitrogen and nitrate nitrogen content and determination of available phosphorus. Another part of the air-dried soil was sieved through a 0.1 mm mesh for the determination of soil organic carbon, total nitrogen and total phosphorus. Soil pH was measured with a soil/deionized water (Sigma-Aldrich, St Louis, MO, USA) ratio of 1/2.5. Soil total nitrogen (TN) was determined using H 2 SO 4 digestion and measured with the Kjeldahl method [19]. Soil total phosphorus (TP) was measured with H 2 SO 4 and HClO 4 (Sinopharm Chemical Reagent Co., Ltd, Shanghai, China) digestion followed by the colorimetric method using ascorbic acid (Sinopharm Chemical Reagent Co., Ltd, Shanghai, China). Soil ammonium nitrogen (AN) was extracted using 2 M KCl solution (Sinopharm Chemical Reagent Co., Ltd, Shanghai, China) followed by the method of detection using colorimetric-indophenol blue [20]. The nitrate nitrogen (NN) was determined using dual wavelength spectrophotometry [21]. Available phosphorus (AP) of soil samples was extracted with ammonium fluoride (NH 4 F, 0.03 M) and hydrochloric acid (HCl, 0.025 M) (Sinopharm Chemical Reagent Co., Ltd, Shanghai, China), and measured by UV-Vis spectrophotometer (Thermo Fisher Scientific, San Jose, CA, USA) [22]. Available potassium (AK) of soil samples was determined by the extraction with CH 3 COONH 4 (1 M) (Sinopharm Chemical Reagent Co., Ltd, Shanghai, China), and measured by a flame photometer (Sherwood Scientific Ltd, Cambridge, UK) [23]. There were three replicates for each sample and each indicator.

Determination of Polysaccharide Content
The polysaccharide content was determined by the phenol-sulphuric acid method [24,25]. The method was described in our previous study [26]. The absorbance was measured at 490 nm using UV-visible spectrophotometer (Thermo Fisher Scientific, San Jose, CA, USA) with 1 mL of water as a blank, and the test was performed in parallel three times. The calibration curve was prepared from the glucose reference, and the equation of regression was: Y = 7.3717X − 0.0025, R 2 = 0.9998, where Y is the absorbance and X is the concentration. Quantification of polysaccharides was performed on the basis of linear calibration plots of the absorbance versus the corresponding concentration.

Determination of Total Alkaloid Content
The total alkaloid content was determined using the method described as follows [27]. The extraction method is the same as the previous study [26]. 2 mL of the sample solution was precisely transferred to a 15 mL centrifuge tube, diluted to 10 mL with chloroform 5 mL of pH 4.5 buffer and 1 mL of 0.04% bromocresol green solution (Sinopharm Chemical Reagent Co., Ltd, Shanghai, China) were added, after which the mixture was left to stand for 30 min after strongly shaking for 3 min. Subsequently, 1 mL of 0.01 M NaOH (Sinopharm Chemical Reagent Co., Ltd, Shanghai, China) was added to 5 mL of the lower fractions for analysis. The alkaloid was determined by using a UV-visible spectrophotometer (Thermo Fisher Scientific, San Jose, CA, USA) at 620 nm with dendrobine (Solarbio Life Sciences, Beijing, China) as a reference standard. The calibration curve was prepared from the dendrobine (Solarbio Life Sciences, Beijing, China) reference, and the equation of regression was: Y = 9.5429X − 0.038, R 2 = 0.9998, where Y is the absorbance and X is the concentration. Quantification of total alkaloids was performed on the basis of linear calibration plots of the absorbance versus the corresponding concentration.

Determination of Total Flavonoid Content
Powdered samples (0.1 g) were digested in 10 mL of 70% (v/v) ethanol (Sinopharm Chemical Reagent Co., Ltd, Shanghai, China) at 60 • C for 3 h and filtered through filter paper to determine flavonoid content. The filtrate was centrifuged at 5000 rpm for 10 min, and the supernatant was collected and adjusted to a final volume of 25 mL by adding 70% (v/v) ethanol (Sinopharm Chemical Reagent Co., Ltd, Shanghai, China). Total flavonoid content was determined by using the aluminum chloride colorimetric method with minor modifications [28]. Briefly, 0.5 mL of extracts, 1.5 mL of Forests 2020, 11, 94 6 of 16 methanol, 0.1 mL of aluminum chloride (10%) (Sinopharm Chemical Reagent Co., Ltd, Shanghai, China), 0.1 mL of sodium acetate (1 M) (Sinopharm Chemical Reagent Co., Ltd, Shanghai, China) and 2.8 mL of distilled water (Sigma-Aldrich, St Louis, MO, USA) were mixed for 5 min by vortexing (MoBio Laboratories Inc., CA, USA). The reaction mixture was kept at room temperature for 30 min and the absorbance was measured at 415 nm [29]. The content of flavonoids was calculated using standard graph of quercetin (Sigma-Aldrich, St Louis, MO, USA) and the results were expressed as quercetin equivalent (mg·g −1 ).

Main Medicinal Components Variation in Different Cultivation Modes
The important medicinal components of D. officinale are polysaccharide, total alkaloid and total flavonoid, and the content of three medicinal components was evaluated at different cultivation modes ( Figure 3). This result showed that the highest contents of polysaccharide, total flavonoid and total alkaloid were in the wild cultivation mode and the lowest contents were in the greenhouse cultivation mode. Among them, the average content of polysaccharides in the wild cultivation mode was as high as 650.56 mg·g −1 dry weight and the total flavonoid content was up to 5.07 mg·g −1 dry weight.
Forests 2020, 11, x FOR PEER REVIEW 6 of 16 2.8 mL of distilled water (Sigma-Aldrich, St Louis, MO, USA) were mixed for 5 min by vortexing (MoBio Laboratories Inc., CA, USA). The reaction mixture was kept at room temperature for 30 min and the absorbance was measured at 415 nm [29]. The content of flavonoids was calculated using standard graph of quercetin (Sigma-Aldrich, St Louis, MO, USA) and the results were expressed as quercetin equivalent (mg·g −1 ).

Statistical Analysis
Differences in three cultivation modes of D. officinale main medicinal components were evaluated. Linear discriminant analysis (LDA), correlation analysis (CA), principal component analysis (PCA) and stepwise multiple linear regression (SMLR) analysis were applied by using the Statistical Product and Service Solutions (SPSS) version 21.0 for Windows (IBM, Chicago, IL, USA). LDA could give the probability distribution of factors belonging to each classification and the probability distribution of factors on each classification. CA was used to investigate whether ecological factors had a correlation with measured medicinal components and laid a foundation for subsequent data analysis. PCA could reduce data matrix dimension and determine the primary ecological factors in this study. Statistical analysis of other data (mean, annual mean, minimum and maximum values, standard deviation,) was done using Excel 2016 (Microsoft, Redmond, WA, USA).

Main Medicinal Components Variation in Different Cultivation Modes
The important medicinal components of D. officinale are polysaccharide, total alkaloid and total flavonoid, and the content of three medicinal components was evaluated at different cultivation modes ( Figure 3). This result showed that the highest contents of polysaccharide, total flavonoid and total alkaloid were in the wild cultivation mode and the lowest contents were in the greenhouse cultivation mode. Among them, the average content of polysaccharides in the wild cultivation mode was as high as 650.56 mg·g −1 dry weight and the total flavonoid content was up to 5.07 mg·g −1 dry weight.

Ecological Factors Variation in Different Cultivation Modes
As for medicinal plants, the ecological differences in their growing locations may cause their active components to vary in concentrations, proportions and even types. Thus, we installed EM-50 microenvironment climate data loggers (Decagon Devices Inc., Pullman, WA, USA) in three different cultivation modes to monitor their microenvironment climate in real time. We have obtained a large amount of data, which is shown in the boxplot of Figure 4. In order to compare the microenvironment climate differences under the three different cultivation modes, we also use line charts to display these differences ( Figure 5).

Ecological Factors Variation in Different Cultivation Modes
As for medicinal plants, the ecological differences in their growing locations may cause their active components to vary in concentrations, proportions and even types. Thus, we installed EM-50 microenvironment climate data loggers (Decagon Devices Inc., Pullman, WA, USA) in three different cultivation modes to monitor their microenvironment climate in real time. We have obtained a large amount of data, which is shown in the boxplot of Figure 4. In order to compare the microenvironment Forests 2020, 11, 94 7 of 16 climate differences under the three different cultivation modes, we also use line charts to display these differences ( Figure 5).     Appropriate soil is very important to improve the quality of Chinese medicine. We selected these indicators (pH, total nitrogen, ammonium nitrogen, nitrate nitrogen, total phosphorus, available phosphorus and available potassium) as a measure of soil factors under different cultivation modes. Since the substrates of the greenhouse cultivation and the bionic cultivation are consistent, we also used consistent data for subsequent analysis (Table 1).  Appropriate soil is very important to improve the quality of Chinese medicine. We selected these indicators (pH, total nitrogen, ammonium nitrogen, nitrate nitrogen, total phosphorus, available phosphorus and available potassium) as a measure of soil factors under different cultivation modes. Since the substrates of the greenhouse cultivation and the bionic cultivation are consistent, we also used consistent data for subsequent analysis (Table 1).

LDA
Linear discriminant analysis (LDA) is an unsupervised dimensionality reduction and classification technique based on sample category output that can maximize the variance between groups and minimize the variance within the same group. For achieving better classification and identification of different cultivation modes based on the ecological factors affecting the growth and quality of D. officinale, LDA was carried out on the basis of nine climate factors. The stepwise discriminant procedure was carried out to extract the best discriminant variable separating different climate factors affecting the growth and quality of D. officinale, which enters or removes variables by analyzing their effects on the classification of ecological factors based on the Wilks' lambda criterion. The discriminant function is used to separate the different groups in the discriminant space. As shown in Figure 6, function 1 explained the variance of 67.3% of the ecological factors influencing the growth of D. officinale, while function 2 explained the variance of 32.7%. Therefore, the total variance of the independent variable ecological factor explained by these two functions is 100%. Different cultivation modes were clumped in different regions of the space. The bionic cultivation mode was entirely separated from the other two cultivation modes. The greenhouse cultivation mode and wild cultivation mode were a little closer but there was no overlap among them. These results distinguished the microclimate of three different cultivation modes.
classification technique based on sample category output that can maximize the variance between groups and minimize the variance within the same group. For achieving better classification and identification of different cultivation modes based on the ecological factors affecting the growth and quality of D. officinale, LDA was carried out on the basis of nine climate factors. The stepwise discriminant procedure was carried out to extract the best discriminant variable separating different climate factors affecting the growth and quality of D. officinale, which enters or removes variables by analyzing their effects on the classification of ecological factors based on the Wilks' lambda criterion.
The discriminant function is used to separate the different groups in the discriminant space. As shown in Figure 6, function 1 explained the variance of 67.3% of the ecological factors influencing the growth of D. officinale, while function 2 explained the variance of 32.7%. Therefore, the total variance of the independent variable ecological factor explained by these two functions is 100%. Different cultivation modes were clumped in different regions of the space. The bionic cultivation mode was entirely separated from the other two cultivation modes. The greenhouse cultivation mode and wild cultivation mode were a little closer but there was no overlap among them. These results distinguished the microclimate of three different cultivation modes.  Figure 7. This analysis was performed to understand the relationships a between ecological factors and the main medicinal components. The correlation between ecological factors under different cultivation modes provides important information for artificial cultivation of D. officinale. As can be seen from Figure 7A-C, in the greenhouse cultivation mode, AN (Ammonium nitrogen) has a significant negative correlation with both polysaccharides and total alkaloid, while for total flavonoid, both MaxSR (Maximum monthly average solar radiation) and AK (Available potassium) have significant positive correlations, but NN (Nitrate nitrogen), TP (Total phosphorus) and AP (Total phosphorus) have significant negative correlations. In the bionic cultivation mode ( Figure 7D-F), TN (Total nitrogen) and AK were significantly positively correlated with polysaccharide, AN and  Figure 7. This analysis was performed to understand the relationships a between ecological factors and the main medicinal components. The correlation between ecological factors under different cultivation modes provides important information for artificial cultivation of D. officinale. As can be seen from Figure 7A-C, in the greenhouse cultivation mode, AN (Ammonium nitrogen) has a significant negative correlation with both polysaccharides and total alkaloid, while for total flavonoid, both MaxSR (Maximum monthly average solar radiation) and AK (Available potassium) have significant positive correlations, but NN (Nitrate nitrogen), TP (Total phosphorus) and AP (Total phosphorus) have significant negative correlations. In the bionic cultivation mode ( Figure 7D-F), TN (Total nitrogen) and AK were significantly positively correlated with polysaccharide, AN and total flavonoid were also significantly positively correlated. In the wild cultivation mode ( Figure 7G-I), pH value was significantly positively correlated with both polysaccharide and total alkaloid, while for total flavonoid, TN has significant positive correlations. When we did not consider any cultivation mode, we found that all soil factors were significantly positively related to polysaccharides and total flavonoids ( Figure 7J total flavonoid were also significantly positively correlated. In the wild cultivation mode ( Figure 7G-I), pH value was significantly positively correlated with both polysaccharide and total alkaloid, while for total flavonoid, TN has significant positive correlations. When we did not consider any cultivation mode, we found that all soil factors were significantly positively related to polysaccharides and total flavonoids ( Figure 7J-L). Except for RH (Relative humidity), SR (Solar radiation) and MaxSR, all other ecological factors are positively related to the three main medicinal components of Dendrobium.

PCA of Ecological Factors
The Principal Components Analysis (PCA) model was applied to all ecological factors and three medicinal components to determine the most important variables that explain the relationships between ecological factors and the main medicinal components of D. officinale. In addition, PCA was carried out all ecological factors regardless of the cultivation mode of D. officinale.
The cumulative contribution rate of the first four eigenvalues sums to 92.287%, and the individual eigenvalues were greater than 1 (Table 2). Therefore, these components could be analyzed to get the load level of each ecological factor and the component matrix ( Table 3). The important ecological factors that influenced the first principal component (PC1) were pH (0.995), TN (0.989),

PCA of Ecological Factors
The Principal Components Analysis (PCA) model was applied to all ecological factors and three medicinal components to determine the most important variables that explain the relationships between ecological factors and the main medicinal components of D. officinale. In addition, PCA was carried out all ecological factors regardless of the cultivation mode of D. officinale.
The cumulative contribution rate of the first four eigenvalues sums to 92.287%, and the individual eigenvalues were greater than 1 (Table 2). Therefore, these components could be analyzed to get the load level of each ecological factor and the component matrix ( Table 3)

Stepwise Multiple Linear Regression (SMLR) Analysis
SMLR has been applied to identify the best prediction model in many studies. The standardized regression coefficient reveals the significance of an individual descriptor in the regression model. A high absolute value of this coefficient corresponds to a high weight of variables in the model [30,31]. We used SMLR analysis to establish three prediction models of three main medicinal components (Table 4). The model I showed a positive linear correlation with the TN, MaxRH and MaxT, but a negative linear correlation with MinRH. For polysaccharide, the main ecological factors affecting it were as follows: TN > MinRH > MaxRH > MaxT in sequence. The Model II showed a positive linear correlation with the MaxRH, TP and MaxT, but a negative linear correlation with MinRH and SD. For total alkaloid, the main ecological factors affecting it were as follows: TP > MaxRH > MaxT > SD > Min RH in sequence. The Model III showed a positive linear correlation with the pH, but a negative linear correlation with MaxRH and AP. For total flavonoid, the main ecological factors affecting it were as follows: pH > AP > MaxRH in sequence. These findings demonstrated that extreme climatic conditions, such as excessive high temperature and excessive sunshine, could cause the main medicinal components to increase or decrease.

Discussion
Although the production of active ingredients in medicinal plants is guided by genetic processes, it is also strongly influenced by environmental factors. Most plants regulate the sorts and amounts of secondary metabolites according to the growing environment [32]. Therefore, environmental factors cause changes in the growth of medicinal plants, as well as the quantity and quality of their active ingredients, such as alkaloids, glycosides and steroids [33]. In our study, three different cultivation modes of D. officinale were selected, and we collected the ecological data and determined the main medicinal components, so as to obtain the most important ecological factors affecting the three main medicinal components in D. officinale. Due to the lack of replication, other factors not measured in the study (soils, disturbance, presence of insects or disease etc.) may have impacted the variables that we measured, in addition to the measured weather variables.
We determined polysaccharide, total alkaloid and total flavonoid of D. officinale under different cultivation modes. We found that in the three cultivation modes, the contents of the three main medicinal components are arranged according to amount as follows: Wild > Bionic > Greenhouse. The most obvious difference is the polysaccharide and total flavonoid in the wild cultivation mode, which are significantly higher than the other two. Other studies also show that these two contents are higher, indicating that the quality of wild D. officinale grown under natural conditions is much better than artificial cultivation [34,35]. However, due to our large market demand and scarce wild resources, we cannot obtain these wild D. officinale in large quantities. Hence, we can try to control their growing environment in greenhouse cultivation, in order to get the maximum medicinal value.
The metabolism and accumulation of active ingredients is the reflection of integrated influences of multiple ecological factors on the medicinal plant during their developmental and growth periods. In particular, certain metabolites are only synthesized under specific environments, or their contents significantly increase under specific environments [36]. Both temperature and sunshine illumination could affect the plant growth and the concentrations of active ingredients in medicinal plants [37][38][39]. Previous study reported the influence of environmental factors on the contents of secondary metabolites in the leaves of Eucommia ulmoides Oliv. and found that annual sunshine duration was significantly and positively correlated to the contents of geniposidic acid [40]. In Salvia miltiorrhiza, temperature is the primary climatic factor affecting the accumulation of tanshinones [34,41]. Sunshine duration was paramount ecological factor and had positive correlation with notopterol in Notopterygii incisum Ting ex H. T. Chang, while temperature was negatively correlated with isoimperatorin in N. incisum [42]. From our correlation analysis, we can see that temperature, relative humidity and sunshine duration have significant correlations with the medicinal components of D. officinale in different varying degrees. Furthermore, we performed a regression analysis and found that the MaxRH had an effect on all three medicinal components, followed by temperature and SD. As shown in our climate data records of the three cultivation modes, we can see that D. officinale is suitable for growing in a place with relatively high humidity. The wild D. officinale has high medicinal components, but its temperature has always been the lowest trend among the three cultivation modes ( Figure 5). Moreover, D. officinale is suitable for growing in shade, and its growth temperature cannot be too high, which is also detrimental to the accumulation of medicinal ingredients. Many studies also point out that low temperature is beneficial to the accumulation of active ingredients, which are found in Panax ginseng and Astragalus membranaceus [43,44].
When it comes to soil condition, physico-chemical properties together with inorganic elements have an important effect on the growth and secondary metabolites in medicinal plants [45]. For instance, Liu et al. [46] found that soil pH is an important limiting factor that has the strongest direct effect on the concentrations of active ingredients. Shah et al. [47] highlighted that soil pH has positive effects on paeonol and paeoniflorin concentrations. Through regression analysis, we found that the main soil factor affecting flavonoids is pH, which is consistent with previous research conclusions. The soil pH had positive and direct effects on the concentrations of total flavonoid. Since the content of total flavonoids in wild cultivation is high, and since the pH value of soil factors in the wild cultivation that we detected is higher than that of the other two cultivation modes, we can pay attention to the regulation of pH value in the future cultivation. The type of soil, pH value, fertility and trace elements will all have a certain effect on the secondary metabolites of the plants [48]. Appropriate soil type is very important to improve the quality of traditional Chinese medicine.
Proper nutrient supply is a sufficient condition for the normal functioning of the plant's secondary metabolic pathways. It is generally believed that lack of nitrogen-nutrient will lead to the accumulation of nitrogen-free secondary metabolites such as phenols. On the contrary, it will promote the synthesis of nitrogen-containing secondary metabolites such as alkaloids and cyanogenic glycosides, reflecting the nitrogen-nutrient balance requirements of plants. Previous studies found that nitrogen and phosphorus can increase the content of Fritillaria alkaloids, while potassium fertilizer reduces its content [49]. Studies have also found that soil nitrogen can affect the content of tripterine in Tripterygium wilfordii [50]. K coupled with Fe, Mn, B, Ba and Zn had a great influence on polysaccharides, total flavonoids and total saponins in Ophiopogon japonicus root [51]. In our study, after analysis, soil TN, AP and TP all affected the medicinal ingredients of D. officinale to varying degrees. These results are consistent with previous studies. Importantly, comprehensive assessment revealed medicinal components in D. officinale under different cultivation modes and found out the most important ecological factors that affect the medicinal components, which provides a good reference for the future artificial cultivation of D. officinale.

Conclusions
In our study, we determined three main components of D. officinale under three different cultivation modes in China. And we obtained the ecological factor data of these three different cultivation modes for analysis. Among the three cultivation modes, the best medicinal value of D. officinale is the wild cultivation mode. After a series of statistical analysis, the most important ecological factors affecting polysaccharide are soil total nitrogen, maximum relative humidity, maximum temperature and minimum relative humidity; the most important ecological factors affecting total alkaloid are maximum relative humidity, maximum temperature, minimum relative humidity, soil total phosphorus and sunshine duration; the most important ecological factors affecting total flavonoid are maximum relative humidity, soil pH and soil available phosphorus. Hence, this study provides a good reference for artificial cultivation D. officinale and investigating medicinal value and its ecological influence of other medicinal plants.  The funders had no role in study design, data collection and analysis, decision to publish or preparation of the manuscript.