-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmaster_script.sh
61 lines (45 loc) · 1.45 KB
/
master_script.sh
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/bin/bash
# Check required libraries
echo "Checking required R libraries..."
Rscript checkLibrary.R
# Run PGLS analyses
echo "Running PGLS analyses for all life history variables..."
Rscript min20all.R
echo "Running PGLS analyses for mammals..."
Rscript min20mam.R
echo "Running PGLS analyses for aves..."
Rscript min20aves.R
echo "Running PGLS analyses for amphibians..."
Rscript min20amph.R
echo "Running PGLS analyses for sauropsids..."
Rscript min20Sauropsids.R
echo "Running PGLS analyses for vertebrate groups..."
Rscript min20VertGroup.R
# Controlled PGLS analysis
echo "Running controlled PGLS analyses..."
R --slave -e "rmarkdown::render('min20AgeControl.Rmd')"
# Run PGLS for mutation data
echo "Running PGLS for mutation data..."
R --slave -e "rmarkdown::render('mutationRegression.Rmd')"
# Kruskal-Wilcox tests
echo "Running Kruskal-Wilcox tests..."
Rscript kruskalwilcox.R
# Bootstrap simulations
echo "Running bootstrap simulations..."
Rscript bootstrap.R
# Additional PGLS analyses with treatments
echo "Running PGLS for doxirubicin treatment data..."
Rscript doxfunc.R
echo "Running PGLS for carnivore indicators..."
Rscript carnivorePgls.R
# Visualization scripts
echo "Generating visualizations..."
#Rscript superTree.R
#Rscript barTree.R
#Rscript CladeTree.R
#Rscript combined_distributions.R
#Rscript violinsNeoMal.R
# Experimentation scripts
echo "Running experimental scripts..."
#Rscript expExperiments.R
echo "All tasks completed successfully!"