Commit b4af7b05 authored by peguerin's avatar peguerin
Browse files

add underlying data figure S1

parent f78ac521
......@@ -113,6 +113,11 @@ coordsFkm.r3=cell_coordinates_meters_kilometers(dcF.n1,dcF.r3)
pgi.corF <- correlog(coords=coordsFkm.r3, z=dcF.r3$GD_mean, method="Moran", nbclass=100)
#plot(pgi.corF,xlim=c(0,10000))
##########################################################################
##write tables
write.table(pgi.corM,"14-tables/figure_S1a_underlying_data.tsv",col.names=T,row.names=F,sep="\t")
write.table(pgi.corF,"14-tables/figure_S1b_underlying_data.tsv",col.names=T,row.names=F,sep="\t")
##########################################################################
## write pdf files
......@@ -120,14 +125,14 @@ pdf("10-figures/figureS1.pdf",width=14,height=10,paper='special')
layout(matrix(c(1,1,2,2),nrow=1))
par(mar=c(4,4,4,2)) # c(bottom, left, top, right)
plot(pgi.corF,xlim=c(200,10000),ylim=c(-0.3,0.3),main="", xlab="", ylab="",cex.axis=1.6,xaxt="n")
plot(pgi.corM,xlim=c(200,10000),ylim=c(-0.3,0.3),main="", xlab="", ylab="",cex.axis=1.6,xaxt="n")
axis(side=1, at=c(200,2000,4000,6000,8000,10000), labels=c(200,2000,4000,6000,8000,10000),mgp=c(3,1,0),cex.axis=1.6)
mtext("(a)",side=3,line=1,at=0,cex=1.6)
mtext("Moran I",side=2,line=2,at=0.05,cex=1.4)
mtext("Distance classes (km)",side=1,line=3,cex=1.4)
plot(pgi.corM,xlim=c(0,10000),ylim=c(-0.3,0.3),main="", xlab="", ylab="",cex.axis=1.6,xaxt="n")
plot(pgi.corF,xlim=c(0,10000),ylim=c(-0.3,0.3),main="", xlab="", ylab="",cex.axis=1.6,xaxt="n")
axis(side=1, at=c(200,2000,4000,6000,8000,10000), labels=c(200,2000,4000,6000,8000,10000),mgp=c(3,1,0),cex.axis=1.6)
mtext("(b)",side=3,line=1,at=0,cex=1.6)
mtext("Distance classes (km)",side=1,line=3,cex=1.4)
......
"dist.class" "coef" "p.value" "n"
384.5208883118 0.161414394973825 9.06735189710265e-07 2692
753.562665435403 0.175799319960313 9.50190851403045e-08 2736
1122.60444205901 0.135996178274678 4.35253005246443e-06 3244
1491.64621868261 0.12831404727473 1.17963027207714e-05 3264
1860.68799530621 0.136148728698341 2.29086093824213e-06 3564
2229.72977192982 0.122997248357906 3.71868064314848e-05 3308
2598.77154855342 0.0686652856661885 0.0112343527933088 3302
2967.81332517702 0.0812860746581383 0.00271894857910368 3484
3336.85510180063 0.0845641066461641 0.00110998376493123 3560
3705.89687842423 0.0626348398631141 0.00868290377304582 3680
4074.93865504783 0.0364611385945784 0.0912651528153965 3314
4443.98043167144 0.0430294334752341 0.0578048672877693 3302
4813.02220829504 0.0858073112200734 0.00113362563387343 3136
5182.06398491864 -0.000974848538722956 0.484612328176354 3846
5551.10576154225 0.0332455364839745 0.0969687604030917 3914
5920.14753816585 0.00445465155947399 0.406323508068908 3782
6289.18931478945 0.0403284345679385 0.0441157379605964 4292
6658.23109141306 -0.0490389236692619 0.976089994965532 4552
7027.27286803666 -0.0690376071948014 0.996458420706902 4310
7396.31464466026 -0.0617044320781162 0.992691871423207 4426
7765.35642128387 -0.0597163824563677 0.995778612350688 5408
8134.39819790747 -0.021546353110523 0.822935324204115 5776
8503.43997453107 -0.0323396662767269 0.929148244099375 6028
8872.48175115468 -0.0652016890272346 0.998964869804729 5964
9241.52352777828 -0.0181197012236908 0.77820845497647 5756
9610.56530440188 -0.0128100683851806 0.68915564275503 5336
9979.60708102549 -0.00718898956416125 0.599485804700043 5758
10348.6488576491 -0.0032376511511915 0.523290877947499 5316
10717.6906342727 -0.0723730165635906 0.999508075501112 5254
11086.7324108963 -0.0503142942067507 0.990186593486289 5650
11455.7741875199 -0.0282838751602372 0.889780116763181 5472
11824.8159641435 -0.0390200098211032 0.950600618676009 5268
12193.8577407671 0.00670712202728967 0.356360222566154 5116
12562.8995173907 -0.0264627481134211 0.846198879357136 4942
12931.9412940143 -0.0368262532925843 0.923435756526706 4742
13300.9830706379 -0.0763823417737536 0.998614741538213 4426
13670.0248472615 -0.0347525936093004 0.898824372387647 4044
14039.0666238851 -0.0754779815616037 0.997216318514618 3826
14408.1084005087 -0.017724563163711 0.711863237497881 3214
14777.1501771323 -0.071672713252079 0.994266553261792 3464
15146.1919537559 -0.083884719017616 0.999022233791543 3672
15515.2337303795 -0.0839677099187302 0.998565428992862 3626
15884.2755070031 -0.0461138976617522 0.943728038722104 3516
16253.3172836267 -0.0926017502778153 0.999278001431127 3428
16622.3590602504 -0.0771479596491229 0.995289188097276 3324
16991.400836874 -0.0676809839364134 0.989597220812966 3422
17360.4426134976 -0.0569861995002252 0.976996952574265 3780
17729.4843901212 -0.0485380394820072 0.958900162466507 3734
18098.5261667448 -0.0964288016928558 0.999644653100683 3396
18467.5679433684 -0.0441766399932444 0.928597785817407 3280
18836.609719992 -0.0223111265170883 0.752933529980609 3090
19205.6514966156 -0.0494746296223185 0.930352650909988 2772
19574.6932732392 0.0337421834118339 0.135698636265108 2846
19943.7350498628 -0.0211915667589307 0.717843612625284 2726
20312.7768264864 -0.00233896997217647 0.50194852802271 2472
20681.81860311 0.000152723945454015 0.473024492289435 2212
21050.8603797336 -0.0491052607261705 0.905965822109877 2178
21419.9021563572 -0.0586255957658758 0.936707123073279 2092
21788.9439329808 -0.00832015547572015 0.564922268648796 2040
22157.9857096044 -0.03913350014114 0.837708727260127 1900
22527.027486228 -0.00802450309828109 0.557780214886252 1864
22896.0692628516 -0.0442970081016524 0.852247395932058 1782
23265.1110394752 -0.0500092406130816 0.891998798199294 1982
23634.1528160988 -0.0102002765725259 0.574816124864938 1834
24003.1945927224 -0.0259403500128137 0.710943205652607 1556
24372.236369346 -0.0418779536349272 0.814276804494937 1272
24741.2781459696 0.0209971237712119 0.291143918105272 1274
25110.3199225932 0.0649343755195559 0.0668845357058411 1232
25479.3616992168 -0.0498282534746274 0.854089628875222 1358
25848.4034758404 -0.0176870164992891 0.629191363792258 1356
26217.445252464 0.0512733536440169 0.100880148805704 1338
26586.4870290876 -0.0295244815439505 0.704860738085989 1122
26955.5288057112 0.0565095900794134 0.109140366836177 1050
27324.5705823348 0.0764234485811631 0.054129753588395 1024
27693.6123589584 0.0910640183112786 0.0282138094676665 978
28062.6541355821 0.134818327700629 0.00217039650825067 1140
28431.6959122057 0.215684793963583 1.07522489336666e-05 960
28800.7376888293 0.183330306544435 0.000146082169494782 962
29169.7794654529 0.0501157504579728 0.154043264655016 844
29538.8212420765 0.167837973545813 0.00244171393493412 680
29907.8630187001 0.171898917953503 0.00272266727954409 608
30276.9047953237 -0.077295318058518 0.837581702652703 468
30645.9465719473 0.0895567549938326 0.0941795842945841 438
31014.9883485709 0.106320948726573 0.0617069615844274 452
31384.0301251945 0.0301139375563385 0.285099427616003 560
31753.0719018181 0.0914192134499098 0.0697267348448836 534
32122.1136784417 -0.0527263859592447 0.73504743749384 512
32491.1554550653 0.0197144799505286 0.34228771326869 578
32860.1972316889 -0.137364962935014 0.954300791615812 506
33229.2390083125 -0.230966220136013 0.993143342978586 338
33598.2807849361 -0.0792972259544024 0.725743298034459 196
33967.3225615597 -0.0713021448497814 0.703633347221869 218
34336.3643381833 -0.201296913237893 0.927337799955296 138
34705.4061148069 0.204065408895694 0.0593126487353303 100
35074.4478914305 -0.118267374217797 0.761564349885552 128
35443.4896680541 -0.310253035929642 0.982974212345136 122
35812.5314446777 -0.0620559983843321 0.596441260843203 98
36181.5732213013 -0.281533094161138 0.930220008141219 66
36550.6149979249 0.267349904311264 0.10803853647117 24
36919.6567745485 -0.210633302661827 0.604867593672631 16
"dist.class" "coef" "p.value" "n"
327.319912718174 0.295848908431262 6.39418940237571e-18 2592
581.959738654524 0.179080789373021 2.62359030090269e-05 1538
836.599564090874 0.210101764594031 3.24752710460451e-09 2422
1091.23938952722 0.149890534420059 1.83636565444682e-06 2898
1345.87921496357 0.19798345161521 9.79908032154156e-10 2468
1600.51904039992 0.169148165795523 2.05508703541728e-07 2284
1855.15886583627 0.15795341382993 1.7800127507663e-05 1798
2109.79869127262 0.192081575150832 1.05947633610425e-08 2164
2364.43851670897 0.158181374551948 1.90712516513362e-05 1734
2619.07834214532 0.12438036929985 0.000384417404948385 1802
2873.71816758167 0.102114805148075 0.00425304353499935 1614
3128.35799301802 0.00717072497053567 0.407081509949004 1262
3382.99781845437 -0.00672676163491355 0.528588852221917 1184
3637.63764389072 0.0254575858461687 0.28510969887592 904
3892.27746932707 -0.109117400869971 0.981443303609387 924
4146.91729476342 -0.0623407943024956 0.872204751329383 954
4401.55712019977 0.120273406044376 0.00802622855023277 960
4656.19694563612 0.0258178922580114 0.288176126437683 880
4910.83677107247 0.0219094173395564 0.295476757457611 1124
5165.47659650882 0.0134599017320206 0.354966676590312 1210
5420.11642194517 0.144849790138049 0.000519081992730569 1266
5674.75624738152 0.0426561496655937 0.151279754236388 1272
5929.39607281787 -0.0369291585170791 0.77856593198948 1396
6184.03589825422 0.112478015746793 0.00572752363823302 1270
6438.67572369057 0.0558040690383928 0.0767036280114848 1546
6693.31554912691 0.0825244072401956 0.0159961074812072 1764
6947.95537456326 0.0701612647519318 0.0276668628686262 2030
7202.59519999961 0.138816011121547 5.60420917209352e-05 2138
7457.23502543596 0.0883722960437809 0.00295636750292941 2570
7711.87485087231 0.0551636697979802 0.0322703511645401 2972
7966.51467630866 0.0346794374220249 0.104162759006924 2974
8221.15450174501 0.0231052863161028 0.197825161703963 2900
8475.79432718136 0.00771085398697792 0.361639209585041 2884
8730.43415261771 -0.0429605930392979 0.903744002799252 2632
8985.07397805406 -0.0539204343686206 0.937651131605747 2280
9239.71380349041 -0.0951541162636019 0.995700479502435 2114
9494.35362892676 -0.1061591594693 0.998982400921736 2426
9748.99345436311 -0.194387536165697 0.999999921423213 2042
10003.6332797995 -0.171431410548854 0.999999584023944 2284
10258.2731052358 -0.165810691301384 0.999997366632686 2134
10512.9129306722 -0.178644202691471 0.999999847104495 2264
10767.5527561085 -0.164554755652048 0.999997316999475 2024
11022.1925815449 -0.0680959299030435 0.953603225802962 1734
11276.8324069812 -0.10816596431305 0.995901741204331 1722
11531.4722324176 0.0428608961481482 0.144225186137436 1502
11786.1120578539 0.0475878553440858 0.143774092574926 1200
12040.7518832903 -0.018630136678583 0.60814015951303 1022
12295.3917087266 0.0266465258709685 0.279377236314849 982
12550.031534163 0.0665867558686953 0.0916389388892133 848
12804.6713595993 0.0501335297021075 0.165585075702144 742
13059.3111850357 0.0241124940009732 0.313961747088056 680
13313.951010472 0.0478230339470745 0.175419131161013 764
13568.5908359084 0.144885120841389 0.00432629886714845 732
13823.2306613447 0.0870902051407323 0.0620928994262085 674
14077.8704867811 0.0465790762346298 0.178196876745516 826
14332.5103122174 0.0173133147026293 0.344384442194919 948
14587.1501376538 -0.113008537900955 0.97827740613932 984
14841.7899630901 0.119675328111257 0.00945292307353074 1014
15096.4297885265 -0.0295267363066851 0.690904812644608 1198
15351.0696139628 -0.0651304197331229 0.891540487720316 1240
15605.7094393992 -0.14415590198599 0.997775016670148 1192
15860.3492648355 -0.015582344475143 0.584844158789915 1008
16114.9890902719 -0.0793868153542835 0.934433351015848 1090
16369.6289157082 -0.101366274148217 0.977956608745311 1148
16624.2687411446 -0.210648438205008 0.999991382515638 1096
16878.9085665809 -0.21552040106273 0.999989284431044 972
17133.5483920172 -0.161008475423025 0.999427342935725 1044
17388.1882174536 -0.153813345599377 0.998975941691932 1034
17642.8280428899 -0.239971267153227 0.999998420459355 994
17897.4678683263 -0.226361427889915 0.999993588588663 1074
18152.1076937626 -0.196620516916861 0.999922211642804 1084
18406.747519199 -0.176977782680966 0.999326479533442 1038
18661.3873446353 -0.256188947493126 0.999996330166946 950
18916.0271700717 -0.120715134503623 0.984785024408407 1042
19170.666995508 0.00854719726072631 0.408724934770942 824
19425.3068209444 0.0487442122388056 0.190829720181968 742
19679.9466463807 0.0158715535593823 0.368848845608447 606
19934.5864718171 0.0372659616552974 0.274321543732341 458
20189.2262972534 -0.170517985144361 0.977106716455139 330
20443.8661226898 -0.0473649657799366 0.676473922569262 306
20698.5059481261 -0.00602202036990578 0.482954350081875 278
20953.1457735625 -0.0131472141896137 0.519450723887411 300
21207.7855989988 -0.121675258842735 0.904504255268895 298
21462.4254244352 -0.216407322212992 0.992798291995445 312
21717.0652498715 -0.259642407083082 0.998733175106288 320
21971.7050753079 -0.233603903880747 0.993104030413116 272
22226.3449007442 -0.287686803794899 0.995191413433032 206
22480.9847261806 -0.410804516688844 0.999810364194654 190
22735.6245516169 -0.292015113904187 0.981682217747465 140
22990.2643770533 -0.275456158157189 0.93544403254373 84
23244.9042024896 -0.471596836792278 0.986238663964628 52
23499.544027926 -0.118505132763953 0.639229588348088 50
23754.1838533623 -0.679243303803944 0.981465881545794 22
24008.8236787987 -0.1411573358488 0.459684477138068 6
24263.463504235 0.0765655771525251 0.207716194831944 10
24518.1033296714 -0.195840123014527 0.612133742098837 16
24772.7431551077 0.30092216186918 0.0982990275127775 18
25027.3829805441 -0.13108584653887 0.578239642463901 28
25282.0228059804 -0.506373331634889 0.874571343410185 14
25536.6626314168 -0.081374371930471 0.35118519986676 12
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment