corr.axes formatting metadata vs samples in triplicate

I have data in triplicate:
A1, A2, A3, B1, B2, B3…

I have metadata in singular:
A(m), B(m), C(m).

When I write the metadata file for corr.axes, what is the most correct way to represent it:

  • Pretend I have metadata in triplicates:
    A1 - A(m)
    A2 - A(m)
    A3 - A(m)
    B1 - B(m)

  • Take the average value for axes files for each sample:
    Mean(A1,A2,A3) - A(m)
    Mean(B1,B2,B3) - B(m)

…or something else?


Hi Erik,

I would pretend you have the metadata in triplicate as well.


Thanks, I think that makes most sense.

corr.axes only correlate one axes at the time to one meta-factor at the time. Is there a test that takes the entire diversity into account and also allows for interaction between factors?