[adegenet-forum] Error in pairDistPlot()

Jombart, Thibaut t.jombart at imperial.ac.uk
Thu Aug 27 12:22:31 CEST 2015


Bug fixed (at commit 054359339c36b62a39a95823da97aad7e6ac721d). 

You can now use the function with the devel version of adegenet. 
See:
https://github.com/thibautjombart/adegenet

For installation guidelines.

Best
Thibaut
________________________________________
From: adegenet-forum-bounces at lists.r-forge.r-project.org [adegenet-forum-bounces at lists.r-forge.r-project.org] on behalf of Jombart, Thibaut [t.jombart at imperial.ac.uk]
Sent: 27 August 2015 11:11
To: Mariana Vasconcellos; adegenet-forum at lists.r-forge.r-project.org
Subject: Re: [adegenet-forum] Error in pairDistPlot()

Hi Mariana,

this is likely a bug. Best way to report these is via the issue system on github - that way you'll be notified automatically of any progress.

I just created an issue for you:
https://github.com/thibautjombart/adegenet/issues/87

comment there and you'll receive notifications.

Most likely this will be sorted today.

Cheers
Thibaut


________________________________________
From: adegenet-forum-bounces at lists.r-forge.r-project.org [adegenet-forum-bounces at lists.r-forge.r-project.org] on behalf of Mariana Vasconcellos [marianamv at utexas.edu]
Sent: 26 August 2015 17:48
To: adegenet-forum at lists.r-forge.r-project.org
Subject: [adegenet-forum] Error in pairDistPlot()

Hi eveyone,

I am trying to run pairDistPlot() using adegenet package with my data or the example provided in the R help and it prints the following error: "Error in levels(K) : object 'K' not found”.

See below the example that was supposed to run from the Rhelp. I am using the 2.0.1 development version of adegenet. Could anyone help me to understand why is it printing this error?

> ## use a subset of influenza data
> data(H3N2)
> set.seed(1)
> dat <- H3N2[sample(1:nInd(H3N2), 100)]
>
> ## get pairwise distances
> temp <- pairDistPlot(dat, other(dat)$epid)
Error in levels(K) : object 'K' not found

Thank you,
Mariana
_______________________________________________
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
_______________________________________________
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


More information about the adegenet-forum mailing list