Difference between revisions of "Team:Uppsala/Model"

Line 198: Line 198:
  
 
          
 
          
           <p> The model is built upon ordinary differential equations (equation 1 and 2). Matlab is used for the calculation of the model, where Matlab's inbuilt function ode45 is used. The programs that were made and used for the calculations can be found here. At each step of the calculation, the program is looking at given temperature data for a year and other variables that will differ depending on the environment. These variables are described in table 1. Two extreme situations were analyzed, one where a horse has a parasite count that hits the threshold of maximum amount (100 000) of parasites and the second where the horse doesn’t have any parasites (although this is a very unlikely scenario). [5] The months at which anthelmintics were used in the regular use, was set to April and October, which are two months when it's likely that a horse owner gives anthelmintics to its horse. [3] As mentioned before, the mean value of how many times horses get anthelmintics are 3.2, however in the calculations the chosen value was set to 2, because this was information that was received from our  <a href="https://2018.igem.org/Team:Uppsala/Human_Practices/Market_Analysis"><b>contucted survey</b></a>. The MATLAB code for the model can be found <a href="https://static.igem.org/mediawiki/2018/6/60/T--Uppsala--Anthelmintic_Model.pdf">here</a>.</p><br><br>
+
           <p> The model is built upon ordinary differential equations (equation 1 and 2). Matlab is used for the calculation of the model, where Matlab's inbuilt function ode45 is used. The programs that were made and used for the calculations can be found here. At each step of the calculation, the program is looking at given temperature data for a year and other variables that will differ depending on the environment. These variables are described in <b>table 1</b>. Two extreme situations were analyzed, one where a horse has a parasite count that hits the threshold of maximum amount (100 000) of parasites and the second where the horse doesn’t have any parasites (although this is a very unlikely scenario). [5] The months at which anthelmintics were used in the regular use, was set to April and October, which are two months when it's likely that a horse owner gives anthelmintics to its horse. [3] As mentioned before, the mean value of how many times horses get anthelmintics are 3.2, however in the calculations the chosen value was set to 2, because this was information that was received from our  <a href="https://2018.igem.org/Team:Uppsala/Human_Practices/Market_Analysis"><b>contucted survey</b></a>. The MATLAB code for the model can be found <a href="https://static.igem.org/mediawiki/2018/6/60/T--Uppsala--Anthelmintic_Model.pdf">here</a>.</p><br><br>
  
 
<!--equation 1 and 2-->
 
<!--equation 1 and 2-->
Line 211: Line 211:
  
  
<p>Table 1. The values and descriptions for the different variables that are used in the model.</p>
+
<p><b>Table 1:</b> The values and descriptions for the different variables that are used in the model.</p>
 
<table class="pgrouptable tablesorter our-table” style=“width: 100%;” cellspacing=“0" cellpadding=“0”>
 
<table class="pgrouptable tablesorter our-table” style=“width: 100%;” cellspacing=“0" cellpadding=“0”>
 
     <thead>
 
     <thead>
Line 311: Line 311:
  
 
<br><br>
 
<br><br>
     <p>With the same starting conditions (only varying when anthelmintics are used) four datasets were obtained. The four different data sets show how the density of parasites per hectare pasture and how the amount of parasites per horse varies for both the regular and the optimized use of anthelmintics. As mentioned in the method, two extreme points of starting values were used, which was when L<sub>0</sub>, the density of worms per ha pasture, is 1000, and A<sub>0</sub> is either 10000 and 0. The results of the calculations are shown in the graphs (figure 1, 2, 3 and 4).</p>   
+
     <p>With the same starting conditions (only varying when anthelmintics are used) four datasets were obtained. The four different data sets show how the density of parasites per hectare pasture and how the amount of parasites per horse varies for both the regular and the optimized use of anthelmintics. As mentioned in the method, two extreme points of starting values were used, which was when L<sub>0</sub>, the density of worms per ha pasture, is 1000, and A<sub>0</sub> is either 10000 and 0. The results of the calculations are shown in the graphs (<b>figure 1, 2, 3</b> and <b>4</b>).</p>   
 
<br><br>
 
<br><br>
  
 
  <img src="https://static.igem.org/mediawiki/2018/e/ed/T--Uppsala--horse0right.jpeg" alt="Parasites in horses, startvalue = 0" class="center" height="50%" width="50%">
 
  <img src="https://static.igem.org/mediawiki/2018/e/ed/T--Uppsala--horse0right.jpeg" alt="Parasites in horses, startvalue = 0" class="center" height="50%" width="50%">
     <p>Figure 1. The amount of parasites per horse where regular and  optimized use of anthelmintics is compared. The starting value is 0 parasites in the horse. Every time anthelmintics are used there is a sharp decline in the graph. Over a five year period, the regular use of anthelmintics, would be 10 times. For the optimized use, anthelmintics wouldn't be used at all, because the amount of parasites never exceeds the threshold. The amount of parasites in the horse are lower for the regular use of anthelmintics, but that is understandable, because anthelmintics are used more often. However, in the optimized use, the amount of parasites never exceed a theoretical amount which would affect the horse negatively.</p><br><br>
+
     <p><b>Figure 1:</b> The amount of parasites per horse where regular and  optimized use of anthelmintics is compared. The starting value is 0 parasites in the horse. Every time anthelmintics are used there is a sharp decline in the graph. Over a five year period, the regular use of anthelmintics, would be 10 times. For the optimized use, anthelmintics wouldn't be used at all, because the amount of parasites never exceeds the threshold. The amount of parasites in the horse are lower for the regular use of anthelmintics, but that is understandable, because anthelmintics are used more often. However, in the optimized use, the amount of parasites never exceed a theoretical amount which would affect the horse negatively.</p><br><br>
  
 
  <img src="https://static.igem.org/mediawiki/2018/a/a4/T--Uppsala--pasture0right.jpeg" alt="Parasites on pasture, startvalue =0" class="center" height="50%" width="50%">
 
  <img src="https://static.igem.org/mediawiki/2018/a/a4/T--Uppsala--pasture0right.jpeg" alt="Parasites on pasture, startvalue =0" class="center" height="50%" width="50%">
     <p> Figure 2. How the density of parasites per hectare changes where regular and  optimized use of anthelmintics is compared. The starting value of parasites in the horse are set to 0. The data fluctuates because the temperature changes day to day, which affects the development of an egg turning into a larvae. This can also be seen during the summer months, where the parasite density increases due to higher temperatures.</p><br><br>
+
     <p> <b>Figure 2:</b> How the density of parasites per hectare changes where regular and  optimized use of anthelmintics is compared. The starting value of parasites in the horse are set to 0. The data fluctuates because the temperature changes day to day, which affects the development of an egg turning into a larvae. This can also be seen during the summer months, where the parasite density increases due to higher temperatures.</p><br><br>
  
 
  <img src="https://static.igem.org/mediawiki/2018/c/c0/T--Uppsala--horse100000right.jpeg" alt="Parasites in horses, starvalue = 100000" class="center" height="50%" width="50%">
 
  <img src="https://static.igem.org/mediawiki/2018/c/c0/T--Uppsala--horse100000right.jpeg" alt="Parasites in horses, starvalue = 100000" class="center" height="50%" width="50%">
     <p>Figure 3. The amount of parasites per horse where regular and  optimized use of anthelmintics is compared. The starting value is 100 000 parasites in the horse. Every time anthelmintics are used there is a sharp decline in the graph. Over a five year period, the regular use of anthelmintics, would be 10 times. For the optimized use, anthelmintics would be used 7 times. The amount of parasites in the horse are lower for the regular use of anthelmintics, but that is understandable, because anthelmintics are used more often. However, in the optimized use, the amount of parasites never exceed an amount which will affect the horse negatively.</p><br><br>
+
     <p><b>Figure 3:</b> The amount of parasites per horse where regular and  optimized use of anthelmintics is compared. The starting value is 100 000 parasites in the horse. Every time anthelmintics are used there is a sharp decline in the graph. Over a five year period, the regular use of anthelmintics, would be 10 times. For the optimized use, anthelmintics would be used 7 times. The amount of parasites in the horse are lower for the regular use of anthelmintics, but that is understandable, because anthelmintics are used more often. However, in the optimized use, the amount of parasites never exceed an amount which will affect the horse negatively.</p><br><br>
  
 
<img src="https://static.igem.org/mediawiki/2018/f/fa/T--Uppsala--pasture100000right.jpeg" alt="Parasites on pasture, startvalue = 100000" class="center" height="50%" width="50%">
 
<img src="https://static.igem.org/mediawiki/2018/f/fa/T--Uppsala--pasture100000right.jpeg" alt="Parasites on pasture, startvalue = 100000" class="center" height="50%" width="50%">
     <p> Figure 4. The density of parasites per hectare changes where regular and optimized use of anthelmintics are compared. The starting value of parasites in the horse are set to 100 000. The data fluctuates because the temperature changes day to day, which affects the development of an egg turning into a larvae. This can also be seen during the summer months, where the parasite density increases due to higher temperatures.</p>
+
     <p><b>Figure 4:</b> The density of parasites per hectare changes where regular and optimized use of anthelmintics are compared. The starting value of parasites in the horse are set to 100 000. The data fluctuates because the temperature changes day to day, which affects the development of an egg turning into a larvae. This can also be seen during the summer months, where the parasite density increases due to higher temperatures.</p>
 
      
 
      
  
Line 362: Line 362:
 
     <p>In order to turn the results from the survey into usable data, we first needed to transform all the answers that were in text form to numerical form, and filter out incomplete values, as well. This was done to be able to analyse it further.
 
     <p>In order to turn the results from the survey into usable data, we first needed to transform all the answers that were in text form to numerical form, and filter out incomplete values, as well. This was done to be able to analyse it further.
  
         The survey consisted of several questions that gave answers as discrete data. If we instead, had worked with continuous data, a regression analysis could have been performed. [10] Now, when using discrete data, we needed to find a suitable way to handle this. We chose to use a type of discrete scatter plot with valued points and with histograms. [11] In the discrete scatter plots, the size of the points increases every time a coupling occurs, see an example of a plot in figure 5. In this case, a coupling refers to when a x and a y value exist together. In this way the importance of a couple can easily be visualized. To suspect a correlation, the largest sized points should appear in some kind of linear, exponential or other interesting pattern.  
+
         The survey consisted of several questions that gave answers as discrete data. If we instead, had worked with continuous data, a regression analysis could have been performed. [10] Now, when using discrete data, we needed to find a suitable way to handle this. We chose to use a type of discrete scatter plot with valued points and with histograms. [11] In the discrete scatter plots, the size of the points increases every time a coupling occurs, see an example of a plot in <b>figure 5</b>. In this case, a coupling refers to when a x and a y value exist together. In this way the importance of a couple can easily be visualized. To suspect a correlation, the largest sized points should appear in some kind of linear, exponential or other interesting pattern.  
 
</p>
 
</p>
 
                 </div>
 
                 </div>
Line 370: Line 370:
  
  
     <p>Results that we found interesting is further described on <a href="https://2018.igem.org/Team:Uppsala/Human_Practices/Market_Analysis"><b>human practices page</b></a>. To download the model written in R, click here. Figure 1 shows a descriptive discrete scatter plot with valued points and figure 2 shows an application of the latter plot based on real survey data.
+
     <p>Results that we found interesting is further described on <a href="https://2018.igem.org/Team:Uppsala/Human_Practices/Market_Analysis"><b>human practices page</b></a>. To download the model written in R, click here.<b> Figure 1 </b>shows a descriptive discrete scatter plot with valued points and <b>figure 2</b> shows an application of the latter plot based on real survey data.
 
     </p> <br><br>
 
     </p> <br><br>
  
 
  <img src="https://static.igem.org/mediawiki/2018/8/88/T--Uppsala--market_example.png" alt="An example of a descriptive discrete scatter plot with valued points" class="center" height="50%" width="50%"><br><br>
 
  <img src="https://static.igem.org/mediawiki/2018/8/88/T--Uppsala--market_example.png" alt="An example of a descriptive discrete scatter plot with valued points" class="center" height="50%" width="50%"><br><br>
  
<p>Figure 5. Descriptive discrete scatter plot with valued points. The numbers in the points describes the number of couplings. </p><br><br>
+
<p><b>Figure 5:</b> Descriptive discrete scatter plot with valued points. The numbers in the points describes the number of couplings. </p><br><br>
  
 
<img src="https://static.igem.org/mediawiki/2018/6/60/T--Uppsala--market_1.png" alt="An example discrete scatter plot with valued points based on data from the survey." class="center" height="50%" width="50%"><br><br>
 
<img src="https://static.igem.org/mediawiki/2018/6/60/T--Uppsala--market_1.png" alt="An example discrete scatter plot with valued points based on data from the survey." class="center" height="50%" width="50%"><br><br>
  
<p>Figure 6. An example of an discrete scatter plot with valued points based on data from the survey. </p><br><br>
+
<p><b>Figure 6:</b> An example of an discrete scatter plot with valued points based on data from the survey. </p><br><br>
  
  

Revision as of 22:03, 16 October 2018