bodkan / admixr

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

Passing Params to PAR File #50

Closed testeranon closed 4 years ago

testeranon commented 4 years ago

Hi unable to send special parameters to the par file using the params argument.

for example in qpWave or qpAdm, param = "allsnps : Yes" is not passed into the actual PAR file.

bodkan commented 4 years ago

Hi,

can you try specifying the option with params = list(allsnps = "YES"))? The reason it's done in this (rather cumbersome, I admit) way is that it allows to specify multiple options at once.

There might be a better way of doing this in the future...

bodkan commented 4 years ago

Let me know if this works for you!

testeranon commented 4 years ago

Perfect!

Also i hear you. the list option is the best way to send multiple params to the PAR file.

However only change in future, if you will, could be allowing single param without the list option.