aboutsummaryrefslogtreecommitdiff
path: root/scripts/rqtl_wrapper.R
diff options
context:
space:
mode:
authorzsloan2021-08-26 19:00:12 +0000
committerzsloan2021-08-26 19:00:12 +0000
commit14d0a6649f6ecbb374a24f37efcd3a73982cf4c2 (patch)
treeef691c10c7cfe8dfa0e620a3f096eabfd24edb42 /scripts/rqtl_wrapper.R
parentc9ee473ff7797f6bbd7507eb55c772a3a646acee (diff)
downloadgenenetwork3-14d0a6649f6ecbb374a24f37efcd3a73982cf4c2.tar.gz
Added # permutations to verbose print
Diffstat (limited to 'scripts/rqtl_wrapper.R')
-rw-r--r--scripts/rqtl_wrapper.R8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/rqtl_wrapper.R b/scripts/rqtl_wrapper.R
index f7e0406..f6788c5 100644
--- a/scripts/rqtl_wrapper.R
+++ b/scripts/rqtl_wrapper.R
@@ -195,18 +195,18 @@ if (opt$nperm > 0) {
if (!is.null(opt$addcovar) || !is.null(opt$control)){
if (!is.null(opt$pstrata)) {
- verbose_print('Running permutations with cofactors and strata\n')
+ verbose_print('Running ', opt$nperm, ' permutations with cofactors and strata\n')
perm_results = scanone(cross_object, pheno.col=1, addcovar=covars, n.perm=opt$nperm, perm.strata=perm_strata, model=opt$model, method=opt$method)
} else {
- verbose_print('Running permutations with cofactors\n')
+ verbose_print('Running ', opt$nperm, ' permutations with cofactors\n')
perm_results = scanone(cross_object, pheno.col=1, addcovar=covars, n.perm=opt$nperm, model=opt$model, method=opt$method)
}
} else {
if (!is.null(opt$pstrata)) {
- verbose_print('Running permutations with strata\n')
+ verbose_print('Running ', opt$nperm, ' permutations with strata\n')
perm_results = scanone(cross_object, pheno.col=1, n.perm=opt$nperm, perm.strata=perm_strata, model=opt$model, method=opt$method)
} else {
- verbose_print('Running permutations\n')
+ verbose_print('Running ', opt$nperm, ' permutations\n')
perm_results = scanone(cross_object, pheno.col=1, n.perm=opt$nperm, model=opt$model, method=opt$method)
}
}