[adegenet-forum] input file problem!

AVIK RAY avik.ray.kol at gmail.com
Thu Jun 9 10:54:57 CEST 2011


Hi All

I am trying to do PCA with tetraploid data;  204 individuals, 7 loci, 
with some missing data, and the command goes like this

..........

 > obj<-read.table("infileAll.txt")

 > obj

................

................

 > dat<-data.frame(obj)

 > dat

................

................

 > x<-df2genind(dat, sep="/", ploidy=4)

Error in data.frame(c("366", "366", "366", "378"), c("366", "366", "366",:

arguments imply differing number of rows: 4, 1, 3

In addition: Warning message:

In df2genind(dat, sep = "/", ploidy = 4) :

entirely non-type individual(s) deleted

......................


so, do not know what is going wrong in it! I guess there is some problem 
with the input file so it's not accepted in R; earlier with small 
dataset it worked fine;
please suggest a solution
Thanks

AVIK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20110609/202fc354/attachment-0001.htm>


More information about the adegenet-forum mailing list