shandley / hecatomb

hecatomb is a virome analysis pipeline for analysis of Illumina sequence data
MIT License
53 stars 12 forks source link

readthedocs viral ecology R tutorial error fix #82

Closed RyCrobe closed 1 year ago

RyCrobe commented 1 year ago

Hey hecatombers,

This is just a nudge about a common error you get when you run an nmds with the new version of vegan.

If you do

data.scores = as.data.frame(scores(nmds))

you get an error about arguments implying different numbers of rows

instead you have to do

data.scores = as.data.frame(scores(nmds)$sites)

and that worked fine.

Thanks, Ryan

beardymcjohnface commented 1 year ago

fixed, thanks Ryan!