How do I determine the type of transformation that metaMDS is applying to my community data when autotransform=TRUE?
How do I determine the type of transformation that metaMDS is applying to my community data when autotransform=TRUE?
See the help for ?metaMDS. The Details section explains what the function is doing. In particular
Transformation: If the data values are larger than common abundance class scales, the function performs a Wisconsin double standardization (
wisconsin). If the values look very large, the function also performs sqrt transformation. Both of these standardizations are generally found to improve the results. However, the limits are completely arbitrary (at present, data maximum 50 triggerssqrtand 9 triggerswisconsin). If you want to have a full control of the analysis, you should setautotransform = FALSEand standardize and transform data independently. Theautotransformis intended for community data, and for other data types, you should setautotransform = FALSE. This step is perfomed usingmetaMDSdist.
If you look at the output printed to the screen when you run metaMDS right before it starts doing the random starts, it will print which transformation is used:
library('vegan')
data(varespec)
set.seed(1)
metaMDS(varespec)
> metaMDS(varespec)
Square root transformation
Wisconsin double standardization
Run 0 stress 0.1843196
Run 1 stress 0.2455912
Run 2 stress 0.2169407
....