plotPCA(fad, alteration, varName, sel = NULL, design = c("binary", "versus", "lvog")[1], do.plot = TRUE, by.size = TRUE, cex = 4)facopyInfo object with a certain study's facopy data.
amplifications All amplifications (CN>2).
- deletions All deletions (CN<2). -="" loh All loss of heterozygosity (LOH), regardless of copy number.
- cnas All copy number alterations (CN<>2).
- any Any kind of alteration.
- all Any kind of alteration, same as any.
- onlygain Only non-LOH amplifications.
- someloss All deletions plus LOH alterations.
2).>facopyInfo object. Points representing samples in the PCA will be colored according to the classification in such variable.
Call summary on your facopyInfo object to see the names of defined variables.
c("1q","9p").
binary: an alteration exists or it does not. The versus design, for CNAs, assigns a value of -1, 0 or 1 depending on whether a deletion, no copy number change or an amplification exists for a given feature. The vlog design, for all (any) alterations, assigns a value of -1, 0 or 1 depending on whether a deletion or LOH, no copy number change or an amplification without LOH exists.
data(myStudy) # load example study
pca = plotPCA(myStudy, "any", "stage")
head(pca$eig)
Run the code above in your browser using DataLab