[adegenet-forum] seploc

Zhian Kamvar kamvarz at science.oregonstate.edu
Tue Jul 14 17:44:12 CEST 2015


Hi Basel,

This error is coming from the fact that both the hierfstat and adegenet packages have funcitions called "read.fstat". Use import2genind instead.

Cheers,
Zhian
> On Jul 14, 2015, at 03:00 , adegenet-forum-request at lists.r-forge.r-project.org wrote:
> 
> Error in (function (classes, fdef, mtable)  :
> unable to find an inherited method for function ?seploc? for signature
> ?"data.frame"?
> 
> and this is my R-script:
> 
> #read_fstat_file_to_create_genind_project:
> B <- read.fstat("simulation_g1500_r10.dat")
> 
> #use_seploc_to_separate_locus:
> B_seploc <- seploc(B, truenames=TRUE, res.type=c("genind", "matrix"))
> 
> can you please point out for me to the mistake I did?!



More information about the adegenet-forum mailing list