You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to run dbRDA in vegan with binary Jaccard distance or unweighted UniFrac distance as response matrix.
Running summary(dbrda_jacc) shows:
Scaling 2 for species and site scores
Species are scaled proportional to eigenvalues
Sites are unscaled: weighted dispersion equal on all dimensions
General scaling constant of scores: 9.826441
I want to extract the scores, to plot ordinations manually using ggplot2. When using scores(dbrda_jacc)$sites I noticed that the scores are indeed as when using scores(dbrda_jacc, scaling=2). I'm wondering if this is the correct scaling to use, when the response is a distance matrix? Or is it more appropriate to use a different type of scaling when extracting scores?
This discussion was converted from issue #499 on March 15, 2022 08:32.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm trying to run
dbRDA
invegan
with binary Jaccard distance or unweighted UniFrac distance as response matrix.Running
summary(dbrda_jacc)
shows:I want to extract the scores, to plot ordinations manually using ggplot2. When using
scores(dbrda_jacc)$sites
I noticed that the scores are indeed as when usingscores(dbrda_jacc, scaling=2)
. I'm wondering if this is the correct scaling to use, when the response is a distance matrix? Or is it more appropriate to use a different type of scaling when extracting scores?Thanks
Beta Was this translation helpful? Give feedback.
All reactions