Closed lchall08 closed 4 years ago
You're right about this error. I've been working on a major overhaul of strataG and this is one of the last functions I need to update. Unfortunately, I don't have time to get to it until January. However, the new version of strataG should be out soon after then, in early February. Sorry for the delay.
@zomestaph, I've updated the arlequin parsing function in the devel version, now called arlequinRead()
and arp2gtypes()
. Please feel free to install it and give it a shot:
devtools::install_github("ericarcher/stratag", master = "redevel2018")
Hello, There are a couple of issues with the function read.arlequin. First, it fails to recognize the appropriate DataType even though they are correctly annotated in the input file. The problem lies in the gsub portion of the code where your regular expression is not correctly extracting the DataType (and the title). It is extracting:
Any fixes or suggestions are really appreciated. Thanks