I am seeing a behavior with ezANOVA that I don't understand.
It may be because I am using it wrong, please advise.
I am trying to identify active compounds that show a significant difference when compared to a negative control compound.
I treated cells with 4 different doses of each of these compounds and then measured the expression of a gene.
My data looks like this where DV is a gene expression value:
WID PERT_ID DV PERT_DOSE
1 X1_A09 CMPD_1 0.3979 10.00
2 X1_A10 CMPD_1 0.0806 2.50
3 X1_A19 CMPD_2 4.8671 10.00
4 X1_A20 CMPD_2 4.2285 2.50
5 X1_B09 CMPD_1 0.7117 0.63
6 X1_B10 CMPD_1 0.6214 0.16
...
ezPrecis gives:
type missing values min max
WID factor 0 96 X1_A09 X3_N16
PERT_ID factor 0 2 CMPD_1 CMPD_2
DV numeric 0 94 -1.9671 5.1095
PERT_DOSE numeric 0 4 0.16 10
ezDesign gives this indicating a balance design:

, but when I run ezANOVA, I get:
"Error in ezANOVA_main(data = data, dv = dv, wid = wid, within = within, :
One or more cells is missing data. Try using ezDesign() to check your data."
So, I don't understand why ezANOVA reports missing data while ezDesign indicates that all groups have the same number of measurements.
ezANOVA(
data = df,
wid = .(WID),
dv = .(DV),
between = .(PERT_ID),
within = .(PERT_DOSE)
)
R version 2.15.0 (2012-03-30)
Platform: x86_64-unknown-linux-gnu (64-bit)
locale:
[1] C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] ez_3.0-1 stringr_0.6 scales_0.2.1 reshape2_1.2.1
[5] RCurl_1.91-1 bitops_1.0-4.1 plyr_1.7.1 memoise_0.1
[9] mgcv_1.7-16 lme4_0.999375-42 Matrix_1.0-6 lattice_0.20-6
[13] ggplot2_0.9.1 car_2.0-12 nnet_7.3-1 MASS_7.3-17