Hi FactoMineR users,
I am analyzing some time series data which consist of control group (5 subjects) and treatment group (5 subjects). Each subject was observed at different time points (0h, 0.5h, 1h, 2h, 24h) and 80 metabolites values were obtained. So, this is a kind of repeated measures study. My data looks like;
Condition time metabolite A metabolite B metabolite C
C1_30 control 0.5h -0.04142747 -0.37265363 -0.11276739
C2_30 control 0.5h -0.36124165 -1.17384736 -0.84574746
C3_30 control 0.5h 0.04387140 0.73808805 0.35003297
C4_30 control 0.5h 0.05652616 -0.80994402 0.03163576
C5_30 control 0.5h -0.30130528 -0.06219186 -0.07025853
C2_60 control 1h -0.08966251 0.21990856 -0.94293543
C3_60 control 1h 0.12005663 0.45336003 -0.56922725
C4_60 control 1h -0.21664809 -0.68921863 1.01670941
C5_60 control 1h 0.44345835 -0.23815902 -0.33989998
C1_120 control 2h -0.54637261 -0.82786901 0.37363236
C2_120 control 2h -0.01997253 0.25259060 -0.74666215
For example, C2_30, C2_60, C2_120 are different time point data of the same subject, i.e., C2.
My questions are followings;
1. Can MFA be used for this kind of repeated measure analysis?
2. If so, how should be my data table reorganized for MFA and how should I do MFA?
My guess is;
time0.5h time1h …..
Condition metabolite A metabolite B metabolite C … metabolite A metabolite B metabolite C …
C1 control -0.04142747 -0.37265363 -0.11276739 … -0.08966251 0.21990856 -0.94293543 ...
C2 control -0.36124165 -1.17384736 -0.84574746 ...
…….
and
MFA(mydata, group=c(80, 80, 80, 80), type=(rep("c", 4)), name.group=c("0.5h", "1h", "2h", "24h"), num.group.sup=1)
Each time point has the same 80 metabolites as variables. The num.group.sup indicates control or treatment group in Condition column.
Is this right?
3. I already did pareto scaling for my data and I do not want FactoMineR do any scaling. I guess data is not scaled by FactoMineR if type is "c" in MFA formula. Is this right?
4. I would like to focus the change of metabolic profile and am not interested in between-subject variability. Therefore, each value of each metabolites was transformed into change from 0h time point. For example, value at 0.5h/value at 0h. I would like to focus within-subject change. Is this idea right? Or should I use raw data value including 0h time point?
Kohkichi