[adegenet-forum] Importing data

normanm muzhinji muzhinjin at yahoo.com
Thu Aug 20 15:29:03 CEST 2015


Thank you
I am now using Fstat format and this is what I am getting
> obj <- read.fstat(system.file("files/rhizoc.dat",package="adegenet"))
Error in if (toupper(.readExt(file)) != "DAT") stop("File extension .dat expected") : argument is of length zero

The data  I am using is as attached. I used the same data for calculating population genetic parameters in FSTAT package

Thanks  for your help
Norman
 


     On Wednesday, August 19, 2015 8:02 PM, Vojtěch Zeisek <vojta at trapa.cz> wrote:
   

 Hi

Dne St 19. srpna 2015 17:24:01, normanm muzhinji napsal(a):
>  I am trying to import my data using structure format but I am getting thisr
> message Error in if (!toupper(.readExt(file)) %in% c("STR", "STRU"))
> stop("File extension .stru expected") : argument is of length zero

Which commands did You use? How do Your data look like?

> Could you kindly help on what commands to use for importing a data saved on
> my documents or /on desktop to adegenet for analysis.

You probably started with documentation 
https://github.com/thibautjombart/adegenet/wiki/Tutorials We then need to know 
what You did to find out what went wrong...

> Thanks for your help

Sincerely,
Vojtěch

-- 
Vojtěch Zeisek
http://trapa.cz/en/

Department of Botany, Faculty of Science
Charles University in Prague
Benátská 2, Prague, 12801, CZ
http://botany.natur.cuni.cz/en/

Institute of Botany, Academy of Science
Zámek 1, Průhonice, 25243, CZ
http://www.ibot.cas.cz/en/

Czech Republic
_______________________________________________
adegenet-forum mailing list
adegenet-forum at lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20150820/ea8554b5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rhizoc.dat
Type: application/octet-stream
Size: 3092 bytes
Desc: not available
URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20150820/ea8554b5/attachment-0001.obj>


More information about the adegenet-forum mailing list