Thank you for help. Can you suggest how to add colour to PCA plot? I tried the following:
autoplot(prcomp(t(norm1),scale. = TRUE, colour="control"))
and other one:
autoplot(prcomp(t(norm1),scale. = TRUE, colby="control"))
but it is giving error: Warning message: In prcomp.default(t(norm1), colour = "control") : extra argument ‘colour’ will be disregarded
- what does this mean? how to correct it?