Many thanks Emmanuel for the detailed instructions and sorry for the
messed up formatting.
Best
Juan
El 24/04/2021 a las 9:03, Emmanuel Paradis escribió:
> Hi Juan,
>
> There is a bug in pcoa() when only one axis is selected by the function. You
> can fix it by editing the function with
Hi Juan,
There is a bug in pcoa() when only one axis is selected by the function. You
can fix it by editing the function with fix(pcoa) and modify line 38 (or close
depending on how the editor arranges the lines of code):
vectors <- sweep(D.eig$vectors[, 1:k], 2, sqrt(eig[1:k]), FUN = "*")
Hellow,
I am running a set of simulations with distance matrices used as input
to pcoa (package ape).
In one instance the matrix (DH) is
H18 H20 H21 H18 0.000 0.3127452190 0.3127452190 H20 0.3127452
0.00 0.0001625185 H21 0.3127452 0.0001625185 0.00
when I run pcoa I get