bodkan / admixr

An R package for reproducible and automated ADMIXTOOLS analyses
https://bodkan.net/admixr
Other
28 stars 9 forks source link

Find a way to specify the paths to ADMIXTOOLS binaries #29

Closed bodkan closed 4 years ago

bodkan commented 6 years ago

User request:

other small feature request for admixr: would be cool if the user could supply the path to the executable that is run (i.e. f3(..., bin=qp3Pop){... run_cmd(bin...)}. Would be useful for people that i) can't install admixtools into their $PATH and ii) people like me that like to fiddle around with admixtools and have multiple versions

This goes back to a feature I was thinking about a long time ago - maybe I could utilize options() to allow users to specify the paths to binaries within R? I think this is cleaner than adding additional arguments to each admixr function.

bodkan commented 4 years ago

I think this is such an edge use case that solving it via Sys.setenv() is a cleaner solution.