Major update to R package btw: prettier code, BayesTraitsV3 and Windows support25 May 2018
I’ve finished a long-overdue update to
btw, my R package for running BayesTraits from R. There are three significant changes in version 2 of
btwis now compatible with both Mac OS and Windows systems. Shout out to Peter Ranacher for contributing code to run
btwfunctions on Windows, which I modified and incorporated into the update.
User input is now much more flexible. I have replaced the many functions containing a dizzying array of arguments with a single function that accepts a character vector containing the desired BayesTraits commands, with each command having its own character string. These commands are copied as-is into the
input.txtfile. Thus, any commands you can pass to BayesTraitsV3, you can pass to
btw. In addition to adding flexibility for users, this format makes it easier for anyone who is familiar with BayesTraits to learn to use
btwnow supports all the new functionality of BayesTraitsV3. I endeavored to be thorough in importing and handling all of the different types of output from BayesTraitsV3. The only type of output
btwdoesn’t support is the variable rates model output, but I don’t recommend using this model anyway (read this paper to know why).
The updated project page provides more detail and a tutorial.