I'm having troubles running gl.edit.recode.pop for population assignment using a SNP DArT dataset
This is the code:
gl2 <- gl.edit.recode.pop(glfiltered, pop.recode = file.path(tempdir(),"new_pop_assingments.csv"))
gl2
Starting gl.edit.recode.pop
Processing a SNP dataset
Extracting current pop assignments from the x object
#THE ERROR:
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'x' in selecting a method for function 'as.matrix': unable to start data editor
In addition: Warning message:
In edit.matrix(recode.table) :
unable to create fontset --fixed-medium-r----120------
Wondering if this has something to do with how MacOS systems read the data file, since it doesn't seem to come up when working with the same data on Windows?
Thanks for help in advance