[adegenet-forum] adegenet-forum Digest, Vol 80, Issue 5

Zhian Kamvar zkamvar at gmail.com
Wed Apr 8 16:56:01 CEST 2015


Vikram, 

This is off-topic for this forum. This is a forum for the adegenet package. 

Please submit questions about general methods or handling things across packages to the R-SIG-genetics group: https://stat.ethz.ch/mailman/listinfo/r-sig-genetics

This specific issue is a poppr related issue (a bug) and should be submitted to the poppr forum: https://groups.google.com/forum/#!forum/poppr

Cheers,
Zhian
> On Apr 8, 2015, at 03:00 , adegenet-forum-request at lists.r-forge.r-project.org wrote:
> 
> Send adegenet-forum mailing list submissions to
> 	adegenet-forum at lists.r-forge.r-project.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum
> 
> or, via email, send a message with subject or body 'help' to
> 	adegenet-forum-request at lists.r-forge.r-project.org
> 
> You can reach the person managing the list at
> 	adegenet-forum-owner at lists.r-forge.r-project.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of adegenet-forum digest..."
> 
> 
> Today's Topics:
> 
>   1. amova on genind object (using poppr) (Vikram Chhatre)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Tue, 7 Apr 2015 17:45:32 -0400
> From: Vikram Chhatre <crypticlineage at gmail.com>
> To: "adegenet-forum at lists.r-forge.r-project.org"
> 	<adegenet-forum at lists.r-forge.r-project.org>
> Subject: [adegenet-forum] amova on genind object (using poppr)
> Message-ID:
> 	<CAJZnH0=KRjOb5UyMqvGeaF7KGWX1O7jVURJew6Xhv+ZW-8i9Mw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> I am trying to do amova on individual loci within a genind object created
> from a structure formatted data set.
> 
> Steps I have followed so far:
> 
> mygenind <- import2genind(.....)
> 
> myhier <- read.table('myhier.txt', header=T)
> head(myhier)
> 
>      Pop     Reg
> 1    1         1
> 2    1         1
> 3    2         1
> 4    2         1
> 5    3         2
> 6    3         2
> 7    4         2
> 8    4         2
> 9    4         2
> 
> mygenclone <- as.genclone(mygenind)
> 
> sethierarchy(mygenclone) <- myhier
> 
> mygenclone_seploc <- seploc(mygenclone, truenames=TRUE, res.type('genind',
> 'matrix'))
> 
> amova_res <- poppr.amova(mygenclone_seploc, ~Reg/Pop, within=TRUE)
> 
> Error: mygenclone_seploc must be a genind object.
> 
> ------------
> Has anyone seen this error before?  If anyone knows a workaround, I would
> appreciate hearing about it.  The statistic works fine for 'over all loci',
> but I need to obtain per locus estimates.
> 
> Thanks for any feedback.
> Vikram
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20150407/5ca3991e/attachment-0001.html>
> 
> ------------------------------
> 
> _______________________________________________
> 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
> 
> End of adegenet-forum Digest, Vol 80, Issue 5
> *********************************************



More information about the adegenet-forum mailing list