# NOT RUN {
# write test microsat data .arp file
f <- arlequinWrite(msats.g, tempfile())
# read .arp file and show structure
msats.arp <- arlequinRead(f)
print(str(msats.arp))
# convert parsed data to gtypes object
msats.arp.g <- arp2gtypes(msats.arp)
msats.arp.g
# compare to original
msats.g
# }
Run the code above in your browser using DataLab