-
Notifications
You must be signed in to change notification settings - Fork 2
/
Shake06Simulation.hs
executable file
·46 lines (38 loc) · 1.21 KB
/
Shake06Simulation.hs
1
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
45
46
#!/usr/bin/env stack
{- stack script
--resolver lts-18.28
--package shake,filepath
-}
import ShakeUtils
import Development.Shake
main :: IO ()
main = shakeArgs myShakeOpts $ do
want $ [
dataSimulation "real_world_group_development.RData"
, dataSimulation "scenarios.RData"
, dataSimulation "mock_data.RData"
, dataSimulation "example_run.RData"
, dataSimulation "permutations_accuracy_summary.RData"
]
code06 "01_real_world_group_development.R" %$
[ dataGeno "janno_final.RData"
, dataSpatial "epsg3035.RData"
, dataOriginSearch "default_kernset.RData"
] -->
[ dataSimulation "real_world_group_development.RData" ]
code06 "02_define_scenarios.R" %$
[] -->
[ dataSimulation "scenarios.RData" ]
code06 "03_create_mock_data.R" %$
[ dataSimulation "scenarios.RData" ] -->
[ dataSimulation "mock_data.RData" ]
code06 "04_run_example.R" %$
[ dataSimulation "scenarios.RData"
, dataSimulation "mock_data.RData"
] -->
[ dataSimulation "example_run.RData" ]
code06 "05_run_permutations.RC48M50" %$
[ dataSimulation "scenarios.RData"
, dataSimulation "mock_data.RData"
] -->
[ dataSimulation "permutations_accuracy_summary.RData" ]