##CLUSETRINGS CHICKWEIGHTS EXPERIMETS

This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.

When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:

library(dplyr)
## 
## Attachement du package : 'dplyr'
## Les objets suivants sont masqués depuis 'package:stats':
## 
##     filter, lag
## Les objets suivants sont masqués depuis 'package:base':
## 
##     intersect, setdiff, setequal, union
library(tidyr)
## Warning: le package 'tidyr' a été compilé avec la version R 4.2.2
names(ChickWeight)
## [1] "weight" "Time"   "Chick"  "Diet"
CC=ChickWeight[ ,-c(4)]
names(CC)
## [1] "weight" "Time"   "Chick"
widechick=reshape(data = ChickWeight,
        timevar= c("Time"),               v.names=c("weight"),
                idvar= c("Chick"),        direction = "wide")
summary(widechick)
##      Chick    Diet      weight.0        weight.2        weight.4    
##  18     : 1   1:20   Min.   :39.00   Min.   :35.00   Min.   :48.00  
##  16     : 1   2:10   1st Qu.:41.00   1st Qu.:48.00   1st Qu.:57.00  
##  15     : 1   3:10   Median :41.00   Median :49.00   Median :61.00  
##  13     : 1   4:10   Mean   :41.06   Mean   :49.22   Mean   :59.96  
##  9      : 1          3rd Qu.:42.00   3rd Qu.:51.00   3rd Qu.:63.00  
##  20     : 1          Max.   :43.00   Max.   :55.00   Max.   :69.00  
##  (Other):44                                          NA's   :1      
##     weight.6        weight.8        weight.10       weight.12    
##  Min.   :51.00   Min.   : 57.00   Min.   : 51.0   Min.   : 54.0  
##  1st Qu.:68.00   1st Qu.: 83.00   1st Qu.: 93.0   1st Qu.:108.0  
##  Median :74.00   Median : 90.00   Median :109.0   Median :134.0  
##  Mean   :74.31   Mean   : 91.24   Mean   :107.8   Mean   :129.2  
##  3rd Qu.:80.00   3rd Qu.:102.00   3rd Qu.:124.0   3rd Qu.:152.0  
##  Max.   :96.00   Max.   :131.00   Max.   :163.0   Max.   :217.0  
##  NA's   :1       NA's   :1        NA's   :1       NA's   :1      
##    weight.14       weight.16       weight.18       weight.20    
##  Min.   : 68.0   Min.   : 71.0   Min.   : 72.0   Min.   : 76.0  
##  1st Qu.:120.5   1st Qu.:143.5   1st Qu.:152.5   1st Qu.:161.0  
##  Median :146.5   Median :169.0   Median :187.0   Median :204.0  
##  Mean   :143.8   Mean   :168.1   Mean   :190.2   Mean   :209.7  
##  3rd Qu.:167.0   3rd Qu.:197.0   3rd Qu.:230.5   3rd Qu.:259.0  
##  Max.   :240.0   Max.   :287.0   Max.   :332.0   Max.   :361.0  
##  NA's   :2       NA's   :3       NA's   :3       NA's   :4      
##    weight.21    
##  Min.   : 74.0  
##  1st Qu.:167.0  
##  Median :205.0  
##  Mean   :218.7  
##  3rd Qu.:266.0  
##  Max.   :373.0  
##  NA's   :5
widechick[,3:14]
##     weight.0 weight.2 weight.4 weight.6 weight.8 weight.10 weight.12 weight.14
## 1         42       51       59       64       76        93       106       125
## 13        40       49       58       72       84       103       122       138
## 25        43       39       55       67       84        99       115       138
## 37        42       49       56       67       74        87       102       108
## 49        41       42       48       60       79       106       141       164
## 61        41       49       59       74       97       124       141       148
## 73        41       49       57       71       89       112       146       174
## 85        42       50       61       71       84        93       110       116
## 96        42       51       59       68       85        96        90        92
## 108       41       44       52       63       74        81        89        96
## 120       43       51       63       84      112       139       168       177
## 132       41       49       56       62       72        88       119       135
## 144       41       48       53       60       65        67        71        70
## 156       41       49       62       79      101       128       164       192
## 168       41       49       56       64       68        68        67        68
## 176       41       45       49       51       57        51        54        NA
## 183       42       51       61       72       83        89        98       103
## 195       39       35       NA       NA       NA        NA        NA        NA
## 197       43       48       55       62       65        71        82        88
## 209       41       47       54       58       65        73        77        89
## 221       40       50       62       86      125       163       217       240
## 233       41       55       64       77       90        95       108       111
## 245       43       52       61       73       90       103       127       135
## 257       42       52       58       74       66        68        70        71
## 269       40       49       62       78      102       124       146       164
## 281       42       48       57       74       93       114       136       147
## 293       39       46       58       73       87       100       115       123
## 305       39       46       58       73       92       114       145       156
## 317       39       48       59       74       87       106       134       150
## 329       42       48       59       72       85        98       115       122
## 341       42       53       62       73       85       102       123       138
## 353       41       49       65       82      107       129       159       179
## 365       39       50       63       77       96       111       137       144
## 377       41       49       63       85      107       134       164       186
## 389       41       53       64       87      123       158       201       238
## 401       39       48       61       76       98       116       145       166
## 413       41       48       56       68       80        83       103       112
## 425       41       49       61       74       98       109       128       154
## 437       42       50       61       78       89       109       130       146
## 449       41       55       66       79      101       120       154       182
## 461       42       51       66       85      103       124       155       153
## 473       42       49       63       84      103       126       160       174
## 485       42       55       69       96      131       157       184       188
## 497       42       51       65       86      103       118       127       138
## 507       41       50       61       78       98       117       135       141
## 519       40       52       62       82      101       120       144       156
## 531       41       53       66       79      100       123       148       157
## 543       39       50       62       80      104       125       154       170
## 555       40       53       64       85      108       128       152       166
## 567       41       54       67       84      105       122       155       175
##     weight.16 weight.18 weight.20 weight.21
## 1         149       171       199       205
## 13        162       187       209       215
## 25        163       187       198       202
## 37        136       154       160       157
## 49        197       199       220       223
## 61        155       160       160       157
## 73        218       250       288       305
## 85        126       134       125        NA
## 96         93       100       100        98
## 108       101       112       120       124
## 120       182       184       181       175
## 132       162       185       195       205
## 144        71        81        91        96
## 156       227       248       259       266
## 168        NA        NA        NA        NA
## 176        NA        NA        NA        NA
## 183       113       123       133       142
## 195        NA        NA        NA        NA
## 197       106       120       144       157
## 209        98       107       115       117
## 221       275       307       318       331
## 233       131       148       164       167
## 245       145       163       170       175
## 257        72        72        76        74
## 269       197       231       259       265
## 281       169       205       236       251
## 293       144       163       185       192
## 305       184       207       212       233
## 317       187       230       279       309
## 329       143       151       157       150
## 341       170       204       235       256
## 353       221       263       291       305
## 365       151       146       156       147
## 377       235       294       327       341
## 389       287       332       361       373
## 401       198       227       225       220
## 413       135       157       169       178
## 425       192       232       280       290
## 437       170       214       250       272
## 449       215       262       295       321
## 461       175       184       199       204
## 473       204       234       269       281
## 485       197       198       199       200
## 497       145       146        NA        NA
## 507       147       174       197       196
## 519       173       210       231       238
## 531       168       185       210       205
## 543       222       261       303       322
## 555       184       203       233       237
## 567       205       234       264       264
col<- colorRampPalette(c("blue","yellow","pink","red" ))(256)
heatmap(as.matrix(widechick[,3:14]),labRow = widechick$Chick,col=col,legend=TRUE)
## Warning in plot.window(...): "legend" n'est pas un paramètre graphique
## Warning in plot.xy(xy, type, ...): "legend" n'est pas un paramètre graphique
## Warning in title(...): "legend" n'est pas un paramètre graphique
legend(x = "bottomright", legend = c("vloww","vloww","mediumw", "highw"), 
       cex = 0.8, fill = colorRampPalette(c("blue","yellow","pink","red" ))(4))

heatmap(as.matrix(widechick[,3:14]),labRow = widechick$Diet,col=col,legend=TRUE)
## Warning in plot.window(...): "legend" n'est pas un paramètre graphique
## Warning in plot.xy(xy, type, ...): "legend" n'est pas un paramètre graphique
## Warning in title(...): "legend" n'est pas un paramètre graphique

widechick$id=rownames(widechick)
varweight=widechick[ ,4:14]#weight time zero removed
head(varweight,5)
##    weight.2 weight.4 weight.6 weight.8 weight.10 weight.12 weight.14 weight.16
## 1        51       59       64       76        93       106       125       149
## 13       49       58       72       84       103       122       138       162
## 25       39       55       67       84        99       115       138       163
## 37       49       56       67       74        87       102       108       136
## 49       42       48       60       79       106       141       164       197
##    weight.18 weight.20 weight.21
## 1        171       199       205
## 13       187       209       215
## 25       187       198       202
## 37       154       160       157
## 49       199       220       223
plot(widechick)
library(psych)

pairs.panels(varweight)

D=dist(varweight)

heatmap(as.matrix(varweight))

hd=hclust(D)
hdmean=hclust(D,method="average")
plot(hdmean,labels=widechick$Chick)

plot(hdmean,labels=widechick$Diet)

plot(hd,labels=widechick$Chick)

plot(hd,labels=widechick$Diet)

#young growth

varweightyoung=widechick[ ,4:9]#weight time zero removed
summary(varweightyoung)
##     weight.2        weight.4        weight.6        weight.8     
##  Min.   :35.00   Min.   :48.00   Min.   :51.00   Min.   : 57.00  
##  1st Qu.:48.00   1st Qu.:57.00   1st Qu.:68.00   1st Qu.: 83.00  
##  Median :49.00   Median :61.00   Median :74.00   Median : 90.00  
##  Mean   :49.22   Mean   :59.96   Mean   :74.31   Mean   : 91.24  
##  3rd Qu.:51.00   3rd Qu.:63.00   3rd Qu.:80.00   3rd Qu.:102.00  
##  Max.   :55.00   Max.   :69.00   Max.   :96.00   Max.   :131.00  
##                  NA's   :1       NA's   :1       NA's   :1       
##    weight.10       weight.12    
##  Min.   : 51.0   Min.   : 54.0  
##  1st Qu.: 93.0   1st Qu.:108.0  
##  Median :109.0   Median :134.0  
##  Mean   :107.8   Mean   :129.2  
##  3rd Qu.:124.0   3rd Qu.:152.0  
##  Max.   :163.0   Max.   :217.0  
##  NA's   :1       NA's   :1
pairs.panels(varweightyoung)

Dy=dist(varweightyoung)
hdy=hclust(Dy)
plot(hdy,labels=widechick$Chick)

plot(hdy,labels=widechick$Diet)

#what explain the variability of grwoth curve in  each Diet Gene control protein intake

#to see soncsitency of thepoeoryx of gene or Littering migling:
varweightold=widechick[ ,10:15]#weight time zero removed
summary(varweightold)
##    weight.14       weight.16       weight.18       weight.20    
##  Min.   : 68.0   Min.   : 71.0   Min.   : 72.0   Min.   : 76.0  
##  1st Qu.:120.5   1st Qu.:143.5   1st Qu.:152.5   1st Qu.:161.0  
##  Median :146.5   Median :169.0   Median :187.0   Median :204.0  
##  Mean   :143.8   Mean   :168.1   Mean   :190.2   Mean   :209.7  
##  3rd Qu.:167.0   3rd Qu.:197.0   3rd Qu.:230.5   3rd Qu.:259.0  
##  Max.   :240.0   Max.   :287.0   Max.   :332.0   Max.   :361.0  
##  NA's   :2       NA's   :3       NA's   :3       NA's   :4      
##    weight.21          id           
##  Min.   : 74.0   Length:50         
##  1st Qu.:167.0   Class :character  
##  Median :205.0   Mode  :character  
##  Mean   :218.7                     
##  3rd Qu.:266.0                     
##  Max.   :373.0                     
##  NA's   :5
varold=varweightold %>%
  drop_na()
varold
## Grouped Data: NULL
##    weight.14 weight.16 weight.18 weight.20 weight.21  id
## 1        125       149       171       199       205   1
## 2        138       162       187       209       215  13
## 3        138       163       187       198       202  25
## 4        108       136       154       160       157  37
## 5        164       197       199       220       223  49
## 6        148       155       160       160       157  61
## 7        174       218       250       288       305  73
## 8         92        93       100       100        98  96
## 9         96       101       112       120       124 108
## 10       177       182       184       181       175 120
## 11       135       162       185       195       205 132
## 12        70        71        81        91        96 144
## 13       192       227       248       259       266 156
## 14       103       113       123       133       142 183
## 15        88       106       120       144       157 197
## 16        89        98       107       115       117 209
## 17       240       275       307       318       331 221
## 18       111       131       148       164       167 233
## 19       135       145       163       170       175 245
## 20        71        72        72        76        74 257
## 21       164       197       231       259       265 269
## 22       147       169       205       236       251 281
## 23       123       144       163       185       192 293
## 24       156       184       207       212       233 305
## 25       150       187       230       279       309 317
## 26       122       143       151       157       150 329
## 27       138       170       204       235       256 341
## 28       179       221       263       291       305 353
## 29       144       151       146       156       147 365
## 30       186       235       294       327       341 377
## 31       238       287       332       361       373 389
## 32       166       198       227       225       220 401
## 33       112       135       157       169       178 413
## 34       154       192       232       280       290 425
## 35       146       170       214       250       272 437
## 36       182       215       262       295       321 449
## 37       153       175       184       199       204 461
## 38       174       204       234       269       281 473
## 39       188       197       198       199       200 485
## 40       141       147       174       197       196 507
## 41       156       173       210       231       238 519
## 42       157       168       185       210       205 531
## 43       170       222       261       303       322 543
## 44       166       184       203       233       237 555
## 45       175       205       234       264       264 567
pairs.panels(varold)

Dyold=dist(varold[,1:5])
Dyold
##             1          2          3          4          5          6          7
## 2   28.178006                                                                  
## 3   25.119713  17.058722                                                       
## 4   67.616566  91.815031  78.657485                                            
## 5   73.307571  47.222876  53.860932 129.761319                                 
## 6   67.163978  81.504601  66.045439  44.687806 107.224064                      
## 7  176.985875 150.804509 164.313724 242.041319 120.374416 225.904847           
## 8  174.688294 200.039996 187.096232 110.009091 236.275263 132.894695 350.773431
## 9  139.384361 165.263426 152.973854  76.302031 203.002463 103.019416 315.914545
## 10  72.013888  65.681047  53.935146  92.422941  66.663333  53.953684 184.418003
## 11  21.931712  17.578396   5.656854  76.778903  56.665686  66.121101 165.924682
## 12 201.876200 228.530086 216.815590 139.570771 267.219011 166.922138 378.782259
## 13 154.347012 126.344766 136.198385 214.137806  86.342342 191.170081  52.640289
## 14 111.395691 137.211516 125.083972  49.689033 175.165636  78.179281 287.730777
## 15 105.584090 133.093952 123.203084  52.076866 174.441967  88.639720 281.921975
## 16 150.973508 177.022597 164.742223  87.401373 214.827838 114.734476 327.638520
## 17 278.628785 250.818660 261.512906 339.696924 211.641206 315.773653 111.489910
## 18  60.975405  86.833173  75.199734  13.638182 126.641226  46.957428 237.406824
## 19  43.829214  63.206012  49.213819  36.262929  98.208961  26.495283 212.704020
## 20 225.690053 251.761792 239.296887 161.660137 288.686681 185.760599 402.385387
## 21 120.933866  94.005319 107.042048 185.070257  65.642974 168.896418  57.818682
## 22  74.330344  49.789557  65.467549 140.794176  46.357308 129.745906 103.802697
## 23  21.400935  47.222876  37.828561  47.116876  89.286057  51.039201 197.544932
## 24  66.595796  39.255573  48.187135 126.083306  21.470911 107.675438 119.536605
## 25 150.884061 127.882759 143.453825 217.729190 110.154437 207.829257  45.099889
## 26  72.346389  94.031909  79.605276  17.663522 127.600940  30.967725 243.548763
## 27  74.806417  52.057660  67.992647 141.357702  52.383203 132.992481 104.527508
## 28 187.157688 160.505452 173.432984 251.419967 129.081370 234.501599  14.560220
## 29  78.759126  96.286032  81.547532  41.243181 123.276113  18.547237 242.059910
## 30 247.236729 221.092741 234.305356 311.817254 190.593809 295.880043  72.013888
## 31 334.965670 307.762896 319.704551 398.047736 271.377965 377.047742 159.793617
## 32  90.105494  62.936476  68.278840 143.982638  28.687977 121.885192 110.394746
## 33  46.797436  72.622311  61.457302  23.409400 113.745330  47.191101 222.872161
## 34 142.116150 117.673276 132.627297 208.386660  96.452061 196.667232  41.097445
## 35  99.100959  76.072334  91.902122 165.906600  67.668309 156.428898  83.168504
## 36 196.361911 170.299736 183.942926 261.728867 140.875832 245.521893  22.847319
## 37  40.373258  24.979992  19.570386  90.421236  40.398020  68.782265 157.378525
## 38 141.672157 115.000000 128.327706 206.487288  84.492603 189.235303  37.269290
## 39  83.827203  64.583280  61.497967 124.205475  39.331921  90.432295 149.288312
## 40  18.814888  30.133038  21.702534  67.082039  70.085662  56.559703 179.075403
## 41  71.909666  44.575778  57.775427 135.687140  33.271610 120.374416 108.106429
## 42  41.255303  22.405357  23.302360  95.864488  38.858718  75.359140 151.980262
## 43 199.897474 174.312937 188.164821 265.260250 145.585027 250.695034  25.826343
## 44  78.166489  50.833060  62.697687 140.705366  23.537205 121.420756 105.252078
## 45 131.571273 104.177733 116.370099 194.717744  70.901340 175.982954  51.797683
##             8          9         10         11         12         13         14
## 2                                                                              
## 3                                                                              
## 4                                                                              
## 5                                                                              
## 6                                                                              
## 7                                                                              
## 8                                                                              
## 9   36.055513                                                                  
## 10 186.257886 156.933107                                                       
## 11 185.226888 150.854234  57.105166                                            
## 12  37.603191  64.513564 220.726075 214.520395                                 
## 13 321.504277 288.223871 143.913168 138.780402 352.467020                      
## 14  63.835727  28.407745 131.723195 122.808794  92.179173 260.372810           
## 15  77.472576  42.638011 139.592263 120.312094  97.979590 258.741183  25.079872
## 16  25.865034  12.529964 168.668314 162.603813  52.754147 300.113312  40.323690
## 17 446.866871 413.630270 266.180390 263.975378 477.855627 125.678160 385.765473
## 18 113.868345  78.778170  92.768529  72.876608 141.915468 211.194223  50.980388
## 19 139.107872 105.636168  60.786512  47.937459 170.020587 182.756669  78.140898
## 20  53.084838  86.614087 238.968617 237.248815  28.142495 374.159057 114.799826
## 21 293.821374 259.235414 129.564656 108.986238 322.485659  44.429720 231.183909
## 22 248.457240 213.211163 101.543094  66.257075 275.606604  89.397987 185.164791
## 23 153.596875 118.439858  71.456280  34.942810 181.422160 172.704951  90.360390
## 24 233.655730 199.647189  72.794231  49.819675 263.535576  90.133235 171.545912
## 25 325.056918 289.382100 174.441967 144.038189 350.385502  77.051931 261.417291
## 26 109.334350  77.498387  82.680106  78.453808 141.633329 212.661703  51.816986
## 27 249.098374 213.630522 107.433700  68.080834 275.481397  93.685645 185.566700
## 28 360.349830 325.717669 191.744622 175.262660 388.826439  54.543561 297.612164
## 29 117.136672  88.232647  70.021425  81.289606 151.416644 207.975960  64.869099
## 30 420.967932 386.157999 252.709319 236.074141 448.822905 111.646764 358.121488
## 31 506.480009 472.484920 329.019756 321.905266 536.199590 186.077941 444.440097
## 32 251.274750 218.574930  78.657485  71.735626 282.830338  72.318739 191.201464
## 33 128.740048  93.562813  85.533619  58.711157 156.345771 197.456324  65.673435
## 34 316.753848 281.426722 161.117969 133.865604 343.300160  62.785349 253.448220
## 35 273.161125 237.632069 127.180973  92.412120 299.203944  81.473922 209.685479
## 36 370.110794 335.150712 203.740030 185.480457 397.846704  69.000000 307.003257
## 37 196.310978 162.941707  42.308392  22.605309 227.248762 125.558751 135.148067
## 38 314.723688 280.048210 148.232925 130.146072 343.253551  37.067506 251.912683
## 39 223.250980 192.595431  38.613469  65.145990 256.844311 106.639580 166.210710
## 40 172.644143 138.195514  57.602083  21.610183 201.747367 152.384382 110.512443
## 41 243.632921 209.057408  87.561407  59.766211 272.405947  84.994117 181.102181
## 42 201.553963 167.928556  48.352870  27.294688 232.025861 121.642920 140.296115
## 43 374.207162 339.132717 209.930941 189.615400 401.523349  75.828754 310.988746
## 44 247.741801 213.560296  83.868945  65.092242 277.333734  77.890949 185.566700
## 45 303.052801 268.843821 133.577693 118.709730 332.480075  31.591138 240.860956
##            15         16         17         18         19         20         21
## 2                                                                              
## 3                                                                              
## 4                                                                              
## 5                                                                              
## 6                                                                              
## 7                                                                              
## 8                                                                              
## 9                                                                              
## 10                                                                             
## 11                                                                             
## 12                                                                             
## 13                                                                             
## 14                                                                             
## 15                                                                             
## 16  51.720402                                                                  
## 17 383.648276 425.599577                                                       
## 18  49.376108  90.305039 336.556087                                            
## 19  81.111035 117.686023 308.060059  33.120990                                 
## 20 123.539467  74.799733 499.607846 165.075740 191.684637                      
## 21 226.422172 271.001845 159.602632 180.784402 155.531347 345.723878           
## 22 178.815547 224.957774 208.357865 135.014814 112.320969 299.671487  49.739320
## 23  86.162637 130.126861 297.650802  40.049969  25.670995 204.875572 141.134687
## 24 169.342848 211.541958 214.888343 122.372383  95.005263 285.956290  63.576725
## 25 252.653913 300.883698 154.201167 211.589225 190.564950 375.318531  51.312766
## 26  60.860496  88.898819 338.180425  24.738634  33.331667 161.925909 186.303516
## 27 178.140394 225.199911 211.073447 135.454790 114.459600 299.869972  52.829916
## 28 292.349106 337.468517  99.889939 247.228639 221.930169 412.228092  66.700825
## 29  77.980767  99.679486 332.585327  44.237993  37.229021 169.631955 185.132385
## 30 351.946019 397.827852  69.756720 307.574381 282.961128 472.618239 127.659704
## 31 440.397548 484.354209  66.226883 394.418559 367.449316 558.873868 214.114455
## 32 191.120381 230.299805 196.913687 142.425419 113.648581 304.044405  56.586217
## 33  62.064483 105.047608 322.636018  15.620499  25.980762 179.833256 166.412139
## 34 245.928851 292.984641 151.772857 203.004926 180.709712 367.642489  34.525353
## 35 201.883630 249.262913 191.350464 159.759194 138.405202 323.841010  38.366652
## 36 300.961792 346.956770  98.071403 256.846258 232.058182 421.710801  77.723870
## 37 135.336617 174.868522 250.974102  87.120606  57.853263 248.809164 100.672737
## 38 246.975707 291.893816 140.096395 201.779583 176.295207 366.571957  22.671568
## 39 170.994152 204.518948 228.015350 122.877988  90.575935 276.034418  97.416631
## 40 108.332821 150.196538 277.019855  61.335145  36.482873 224.619679 121.995902
## 41 177.039544 220.952484 207.574083 131.007633 105.470375 295.619688  50.931326
## 42 139.606590 179.936100 246.499493  91.727858  63.221832 253.964564  94.905216
## 43 304.248254 350.744922 100.652869 260.532148 236.761483 425.505582  82.134037
## 44 182.696470 225.532703 201.578769 136.088207 109.064201 299.913321  49.162994
## 45 237.097027 280.684877 147.847895 190.727554 164.310681 355.236541  14.832397
##            22         23         24         25         26         27         28
## 2                                                                              
## 3                                                                              
## 4                                                                              
## 5                                                                              
## 6                                                                              
## 7                                                                              
## 8                                                                              
## 9                                                                              
## 10                                                                             
## 11                                                                             
## 12                                                                             
## 13                                                                             
## 14                                                                             
## 15                                                                             
## 16                                                                             
## 17                                                                             
## 18                                                                             
## 19                                                                             
## 20                                                                             
## 21                                                                             
## 22                                                                             
## 23  95.115719                                                                  
## 24  34.785054  83.874907                                                       
## 25  78.555713 172.023254 104.110518                                            
## 26 143.732390  51.903757 126.043643 221.643858                                 
## 27  10.440307  95.801879  39.837169  76.511437 145.306572                      
## 28 114.162165 207.533130 128.292634  56.973678 252.701405 115.325626           
## 29 145.017240  60.373835 124.442758 223.071737  24.145393 147.929037 251.003984
## 30 173.721041 267.910433 189.628584 104.995238 313.671803 174.120648  61.627916
## 31 262.379496 354.925344 273.420921 197.403141 397.866812 263.890129 148.734663
## 32  52.611786 106.042444  32.155870 105.938661 142.341140  59.101607 116.511802
## 33 120.428402  26.267851 108.217374 196.819714  33.585711 120.623381 232.667144
## 34  69.021736 163.263591  92.552688  20.174241 211.459216  68.593003  52.659282
## 35  26.832816 120.129097  57.532599  52.640289 169.726250  25.396850  94.132885
## 36 122.356038 216.942389 138.906443  56.850682 263.419817 123.085336  17.832555
## 37  63.960926  51.400389  40.360872 140.335313  88.056800  68.190908 166.427161
## 38  69.166466 161.922821  83.701852  42.011903 207.410222  71.644958  47.063787
## 39  80.523289  92.298429  50.318983 144.391828 117.239072  87.732548 156.112139
## 40  77.633756  24.779023  65.398777 155.916644  67.985293  80.510869 188.568290
## 41  17.776389  91.493169  22.715633  89.314053 136.956197  26.627054 117.179350
## 42  57.384667  54.863467  39.102430 134.208793  94.021274  62.864935 161.052786
## 43 126.506917 220.728340 144.076369  57.714816 267.478971 126.321020  22.781571
## 44  28.195744  96.840074  23.937418  91.071401 140.235516  36.687873 114.568757
## 45  62.241465 151.297720  72.083285  56.700970 194.902540  66.324958  59.354865
##            29         30         31         32         33         34         35
## 2                                                                              
## 3                                                                              
## 4                                                                              
## 5                                                                              
## 6                                                                              
## 7                                                                              
## 8                                                                              
## 9                                                                              
## 10                                                                             
## 11                                                                             
## 12                                                                             
## 13                                                                             
## 14                                                                             
## 15                                                                             
## 16                                                                             
## 17                                                                             
## 18                                                                             
## 19                                                                             
## 20                                                                             
## 21                                                                             
## 22                                                                             
## 23                                                                             
## 24                                                                             
## 25                                                                             
## 26                                                                             
## 27                                                                             
## 28                                                                             
## 29                                                                             
## 30 312.411587                                                                  
## 31 393.737222  95.036835                                                       
## 32 139.082709 176.926538 256.972761                                            
## 33  50.309045 292.878815 380.123664 129.170430                                 
## 34 212.136748 107.363867 198.824043  90.166513 188.422398                      
## 35 171.610023 151.377013 242.072303  68.425142 145.006896  45.782093           
## 36 261.902654  53.516353 142.407865 129.888414 242.177621  58.300943 100.254676
## 37  84.846921 227.907876 310.609079  58.983048  74.739548 128.650690  90.548330
## 38 205.372832 108.023146 193.693056  76.197113 187.464663  27.386128  52.744668
## 39 106.836323 216.631023 291.082463  49.010203 112.627705 130.376378 102.635277
## 40  69.935685 249.186677 334.959699  85.994186  48.805737 145.886943 103.629146
## 41 136.491758 177.834192 264.062493  37.067506 116.760439  77.162167  40.521599
## 42  90.879040 222.252109 305.542141  56.524331  79.422919 122.143358  83.994047
## 43 266.788306  49.507575 140.907771 135.040735 245.847514  59.581876 103.913426
## 44 137.298944 175.880641 259.449417  33.541020 122.515305  77.890949  47.233463
## 45 192.286245 120.494813 203.928909  60.299254 176.688992  39.319207  52.211110
##            36         37         38         39         40         41         42
## 2                                                                              
## 3                                                                              
## 4                                                                              
## 5                                                                              
## 6                                                                              
## 7                                                                              
## 8                                                                              
## 9                                                                              
## 10                                                                             
## 11                                                                             
## 12                                                                             
## 13                                                                             
## 14                                                                             
## 15                                                                             
## 16                                                                             
## 17                                                                             
## 18                                                                             
## 19                                                                             
## 20                                                                             
## 21                                                                             
## 22                                                                             
## 23                                                                             
## 24                                                                             
## 25                                                                             
## 26                                                                             
## 27                                                                             
## 28                                                                             
## 29                                                                             
## 30                                                                             
## 31                                                                             
## 32                                                                             
## 33                                                                             
## 34                                                                             
## 35                                                                             
## 36                                                                             
## 37 177.285081                                                                  
## 38  56.964901 120.875969                                                       
## 39 168.264672  43.829214 114.026313                                            
## 40 198.186781  33.105891 142.642911  72.835431                                 
## 41 127.000000  53.563047  71.791364  64.899923  71.533209                      
## 42 171.592541  13.711309 115.078234  46.010868  32.680269  46.701178           
## 43  16.093477 182.118094  62.498000 174.979999 202.847233 132.053020 176.632387
## 44 124.891953  53.441557  68.242216  56.595053  76.236474  16.583124  47.053161
## 45  71.714713 108.208133  17.776389  99.247166 131.274522  61.040970 102.425583
##            43         44
## 2                       
## 3                       
## 4                       
## 5                       
## 6                       
## 7                       
## 8                       
## 9                       
## 10                      
## 11                      
## 12                      
## 13                      
## 14                      
## 15                      
## 16                      
## 17                      
## 18                      
## 19                      
## 20                      
## 21                      
## 22                      
## 23                      
## 24                      
## 25                      
## 26                      
## 27                      
## 28                      
## 29                      
## 30                      
## 31                      
## 32                      
## 33                      
## 34                      
## 35                      
## 36                      
## 37                      
## 38                      
## 39                      
## 40                      
## 41                      
## 42                      
## 43                      
## 44 130.188325           
## 45  76.993506  56.329388
hdold=hclust(Dyold)
plot(hdold,labels=varold$id)

#what explain the variability of grwoth curve in  each Diet Gene control protein intake