Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ordination Error - “veg_distance” not available for .C() for package “vegan” #28

Closed
giriarteS opened this issue Feb 22, 2019 · 2 comments

Comments

@giriarteS
Copy link

I am getting the following error with the ordination function:
ord.res <- ordination(psN, which_distance = "bray", method = "NMDS",grouping_column = "Treatment", pvalue.cutoff=0.05)

Error in .C("veg_distance", x = as.double(x), nr = N, nc = ncol(x), d = double(N * : "veg_distance" not available for .C() for package "vegan"

Below are the package versions:

R version 3.4.1 (2017-06-30)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS High Sierra 10.13.6

packageVersion('microbiomeSeq')
packageVersion('phyloseq')
packageVersion('vegan')

[1] ‘0.1’
[1] ‘1.22.3’
[1] ‘2.5.4’

Thanks

@AlfredUg
Copy link
Collaborator

Heya @giriarteS,

This issue is about the conflicts between phyloseq and vegan. The common work around is re-installing phyloseq from source.

library("devtools")
install_github("joey711/phyloseq")

You can follow the discussion about this here.

Hope that helps.

@AlfredUg AlfredUg changed the title ordination error ordination Error - “veg_distance” not available for .C() for package “vegan” Feb 22, 2019
@giriarteS
Copy link
Author

Thanks!!!

@AlfredUg AlfredUg closed this as completed Mar 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants