I have ranked concentrations (from 0 to 5) of 5 different proteins from 3 different locations from the same patient. In total, 15 measures per patient and 61 patients, so 915 observations.
What I'd like to know is if:
- The 3 locations are the same regarding the concentration of the 5 proteins.
- Any protein is present in one specific location in higher concentration.
I think I'd need a two-way Friedman's ANOVA since I have 2 categorical variables (protein and location) and 1 ordinal variable (ranked concentration). My questions are:
- How can I run the test in R?
- Is bootstrapping my only solution?
- What about interactions?
- I have read about proportional odds. Could it help?
To make it clearer, I here is part of the data:
Protein Location Concentration
Prot1 Loc1 0
Prot1 Loc1 0
Prot1 Loc1 1
Prot1 Loc1 0
Prot1 Loc1 0
Prot1 Loc1 2
Prot1 Loc1 1
Prot1 Loc1 1
Prot1 Loc1 1
Prot1 Loc2 1
Prot1 Loc2 0
Prot1 Loc2 0
Prot1 Loc2 1
Prot1 Loc2 1
Prot1 Loc2 3
Prot1 Loc2 0
Prot1 Loc2 0
Prot1 Loc2 2
Prot1 Loc2 0
Prot1 Loc2 0
Prot1 Loc3 0
Prot1 Loc3 0
Prot1 Loc3 0
Prot1 Loc3 1
Prot1 Loc3 1
Prot1 Loc3 2
Prot1 Loc3 0
Prot1 Loc3 1
Prot1 Loc3 1
Prot1 Loc3 0
Prot1 Loc3 0
Prot2 Loc1 1
Prot2 Loc1 1
Prot2 Loc1 2
Prot2 Loc1 0
Prot2 Loc1 0
Prot2 Loc1 1
Prot2 Loc1 0
Prot2 Loc1 0
Prot2 Loc1 0
Prot2 Loc1 2
Prot2 Loc1 0
Prot2 Loc2 2
Prot2 Loc2 2
Prot2 Loc2 1
Prot2 Loc2 1
Prot2 Loc2 0
Prot2 Loc2 1
Prot2 Loc2 3
Prot2 Loc2 0
Prot2 Loc2 0
Prot2 Loc2 3
Prot2 Loc2 0
Prot2 Loc3 3
Prot2 Loc3 1
Prot2 Loc3 2
Prot2 Loc3 1
Prot2 Loc3 0
Prot2 Loc3 1
Prot2 Loc3 0
Prot2 Loc3 0
Prot2 Loc3 0
Prot2 Loc3 1
Prot2 Lo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