Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
reservebenefit
worldmap_fish_genetic_diversity
Commits
c95578cc
Commit
c95578cc
authored
Oct 25, 2019
by
peguerin
Browse files
add underlying data figure 1
parent
b4af7b05
Changes
3
Hide whitespace changes
Inline
Side-by-side
00-scripts/step5/figures/figure1.R
View file @
c95578cc
...
...
@@ -170,6 +170,13 @@ dcM.lb=latbandGD(dcM.1,dcM,grid)
dcF.lb
=
latbandGD
(
dcF.1
,
dcF
,
grid
)
##########################################################################
##write tables
write.table
(
dcM.lb
,
"14-tables/figure_1b_underlying_data.tsv"
,
col.names
=
T
,
row.names
=
F
,
sep
=
"\t"
)
write.table
(
dcF.lb
,
"14-tables/figure_1d_underlying_data.tsv"
,
col.names
=
T
,
row.names
=
F
,
sep
=
"\t"
)
##########################################################################
## write pdf files
labels.lb
=
c
(
"-80"
,
""
,
"-60"
,
""
,
"-40"
,
""
,
"-20"
,
""
,
"0"
,
""
,
"20"
,
""
,
"40"
,
""
,
"60"
,
""
,
"80"
)
...
...
14-tables/figure_1b_underlying_data.tsv
0 → 100644
View file @
c95578cc
"latband" "GD_band_mean" "GD_band_ci" "countCells" "col"
-90 0.001365420720259 0 "< 10" "grey0"
-80 0.00329753609080829 0.000865861903530835 "< 10" "grey0"
-70 0.00860576055998717 0.00482231529720269 "10 - 20" "grey14"
-60 0.00317884522871292 0.000768078794949363 "10 - 20" "grey14"
-50 0.0038901781897258 0.00194177447437566 "10 - 20" "grey14"
-40 0.0165791546460702 0.00349046161127358 "20 - 40" "grey34"
-30 0.0233595127039005 0.00748289333187419 "20 - 40" "grey34"
-20 0.0252501002647442 0.0118350297765304 "20 - 40" "grey34"
-10 0.0126936549687302 0.00311184991564773 "20 - 40" "grey34"
10 0.0178987974267164 0.0034351478343996 "20 - 40" "grey34"
20 0.0180881571149784 0.00299630425928013 "40 - 60" "grey64"
30 0.017376913838556 0.00309245724090608 "20 - 40" "grey34"
40 0.00849782165073577 0.00117352366138929 "40 - 60" "grey64"
50 0.00606540252209587 0.000676765792440743 ">60" "grey89"
60 0.00620238959656769 0.00127782494895401 "40 - 60" "grey64"
70 0.0167050443023884 0.00843567609789718 "20 - 40" "grey34"
80 0.00450786088041728 0.000980318480583093 "20 - 40" "grey34"
90 0 0 NA NA
14-tables/figure_1d_underlying_data.tsv
0 → 100644
View file @
c95578cc
"latband" "GD_band_mean" "GD_band_ci" "countCells" "col"
-90 0 0 NA NA
-80 0 0 NA NA
-70 0 0 NA NA
-60 0 0 NA NA
-50 0 0 NA NA
-40 0.0285536437962691 0.00856761460415606 "< 10" "grey0"
-30 0.0261919799679219 0.00406692380413936 "20 - 40" "grey34"
-20 0.0360519382182867 0.00450557282386118 "20 - 40" "grey34"
-10 0.0286559609121336 0.0055893623634132 "40 - 60" "grey64"
10 0.011265438004232 0.0036206141951856 "20 - 40" "grey34"
20 0.0160564135087147 0.00276526578123488 "20 - 40" "grey34"
30 0.0123587710192863 0.00187882090630892 "20 - 40" "grey34"
40 0.0130272822777349 0.00148248092456698 ">60" "grey89"
50 0.0075277407668135 0.000630778465022716 ">60" "grey89"
60 0.0047374578949525 0.0039705867293085 "< 10" "grey0"
70 0.0234190597813997 0.00427791586545256 "< 10" "grey0"
80 0 0 NA NA
90 0 0 NA NA
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment