Commit a194f253 authored by Jefferson F. Paril's avatar Jefferson F. Paril 😁

making the R analysis scripts more generic

parent 395d3c9f
......@@ -283,13 +283,13 @@ elif [ $ACTION -eq 1 ]; then
cd ${SRC_DIR}
if [ $m2 -eq 1 ]; then
# Rscript ~/instaGraminoid/cross_validation.r "$m1" "$DIR"
Rscript cross_validation.r "$m1" "$DIR"
Rscript ${SRC_DIR}/cross_validation.r "$m1" "$DIR"
elif [ $m2 -eq 2 ]; then
# Rscript ~/instaGraminoid/logit_plots.r "$m1" "$DIR"
Rscript logit_plots.r "$m1" "$DIR"
Rscript ${SRC_DIR}/logit_plots.r "$m1" "$DIR"
elif [ $m2 -eq 3 ]; then
# Rscript ~/instaGraminoid/resistance_variation.r "$m1" "$DIR"
Rscript resistance_variation.r "$m1" "$DIR"
Rscript ${SRC_DIR}/resistance_variation.r "$m1" "$DIR"
else
echo "INVALID ANALYSIS TYPE. CHOOSE:"
echo " 1 for cross-validation,"
......
Markdown is supported
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