[adegenet-forum] df2genind function unexpected behavior

Roman Luštrik roman.lustrik at biolitika.si
Tue Jan 3 23:44:41 CET 2017


Can you provide a reproducible example? 

FWIW, you can use accessor functions like `tab(genind_obj)` or access the other slot through `other(genind_obj)`, e.g. 

library(adegenet) 

data(nancycats) 

other(nancycats)$xy 

or assigning things 

other(nancycats)$xy <- xy_object 

To access genotypes, you can use 

tab(nancycats) 


Cheers, 
Roman 

---- 
In god we trust, all others bring data. 


From: "Tagliamonte,Massimiliano S" <mstagliamonte at ufl.edu> 
To: "adegenet-forum at lists.r-forge.r-project.org" <adegenet-forum at r-forge.wu-wien.ac.at> 
Sent: Tuesday, January 3, 2017 10:36:20 PM 
Subject: Re: [adegenet-forum] df2genind function unexpected behavior 



Update: 

OK, I have replaced the dots (".") in the names with "_", now the order of the isolates is maintained. I'll have to keep in mind this behavior. I guess it's a bad idea to introduce special characters in my data in R. 




Sincerely, 


Massimiliano S. Tagliamonte 
Graduate Student 
University of Florida 
College of Veterinary Medicine 
Department of Infectious Diseases and Pathology 



_______________________________________________ 
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/20170103/f7afe577/attachment-0001.html>


More information about the adegenet-forum mailing list