aboutsummaryrefslogtreecommitdiff
path: root/scripts/rqtl_wrapper.R
AgeCommit message (Collapse)Author
2024-09-12Getting Rqtl to run on fallbackPjotr Prins
2024-07-08Pass output directory to R/qtl script instead of pulling it from thezsloan
environment Also fixes issue where the control marker keyword was wrong
2022-03-22Merge branch 'feature/add_rqtl_pairscan' of ↵zsloan
https://github.com/zsloan/genenetwork3 into feature/add_rqtl_pairscan
2022-03-22Change order of if statements for running genoprob commandzsloan
Now it checks for pairscan first, just in case interval ends up being passed (which is an irrelevant parameter for pairscan) Also added a couple more verbose prints
2022-03-22Updated rqtl_wrapper to also return a map file when doing a pair-scan (since ↵zsloan
we need the list of markers/pseudomarkers and their positions)
2022-03-22Added line priting pair-scan results to CSV and changed the default ↵zsloan
step-size to 10cM for pair-scan
2022-03-22- Added scan_func function that determines whether scanone or scantwozsloan
(pairscan) is used - For pairscan default to using step 20 (subject to change, but some step is required during calc.genoprob to make it run fast enough) - Added some new verbose prints
2022-03-22Added option for running pairscan to rqtl_wrapper.Rzsloan
2022-02-02Fix R/qtl covar bugzsloan
The rqtl_wrapper script was throwing an error when only a single categorical covariate was used. This is apparently because "covars[,name]" throws an error in such a situation. Using just "covars" in such a situation prevents the error. So I just added an if statement checking the number of covariates. There might be some better way to deal with this in R, but this is the best I could come up with.
2021-11-11Merge branch 'main' into feature/add_rqtl_pairscanzsloan
2021-10-14Fixed when model is set to account for situations with no covariateszsloan
2021-10-14Incorporated Danny's code for calculating QTL main effects into rqtl_wrapper.Rzsloan
2021-09-23Updated rqtl_wrapper to also return a map file when doing a pair-scan (since ↵zsloan
we need the list of markers/pseudomarkers and their positions)
2021-09-23Added line priting pair-scan results to CSV and changed the default ↵zsloan
step-size to 10cM for pair-scan
2021-09-23- Added scan_func function that determines whether scanone or scantwozsloan
(pairscan) is used - For pairscan default to using step 20 (subject to change, but some step is required during calc.genoprob to make it run fast enough) - Added some new verbose prints
2021-09-23Added option for running pairscan to rqtl_wrapper.Rzsloan
2021-09-23Fix covariates as described by Dannyzsloan
2021-08-28Fix issue that caused R/qtl to not use the first covariate when using ↵zsloan
stratified permutations + covariates
2021-08-26Added # permutations to verbose printzsloan
2021-06-18Added option for enabling permutation stratazsloan
Fixed issue where covariates with numerical names were being ignored Fixed issue where the hash filename wasn't being used for the permutation output
2021-06-18Add rqtl_wrapper.R script and necessary imports to guix.scmzsloan