i = 1 to n
objects and j = 1 to p
variablesp-by-p
), or dissimilarities of objects (n-by-n
)\[Z_{ik} = c_{1k}y_{i1} + c_{2k}y_{i2} + c_{3k}y_{i3} + c_{4k}y_{i4} + ... + c_{pk}y_{ip}\]
k
new variables themselvesk=p
)p
)p-by-p
matrix or singular value decomposition of the original matrixAnd, let’s print the biplot of the data.
Lastly, let’s look at the scores of the original objects based on our new variables.
If you have time -
Go back to your single-factor ANOVA examples, and run this type of analysis for the first 2 PCs. Because you have 3 factor levels, set up contrasts as you see fit.
OK, now practice by performing a PCA on one of the RNAseq.tsv files.