SLIDE 53 Perform & visualize PCA
◮ plot the first principal component score vectors (colors
correspond to cell lines)
par(mfrow=c(1,2)) plot(pr.out$x[,1:2], col=Cols(nci.labs), pch=19,xlab="Z1",ylab="Z2") legend("bottomright", bty="n", col=unique(Cols(nci.labs)), legend=unique(nci.labs), cex= plot(pr.out$x[,c(1,3)], col=Cols(nci.labs), pch=19,xlab="Z1",ylab="Z3")
20 40 60 −60 −40 −20 20 Z1 Z2
RENAL BREAST NSCLC UNKNOWN OVARIAN MELANOMA PROST A TE LEUKEMIA K562B−repro K562A−repro COLON MCF7A−repro MCF7D−repro
−40 20 40 60 −40 −20 20 40 Z1 Z3
→ indicates that cell lines from the same cancer type tend to have pretty similar gene expression levels
53/ 69