Description Usage Arguments Examples
A tool used to plot the cross product of the normalized data and the eigenvectors, it relies only on the standard library ploting function
1 |
pcs |
the eiginvectors |
pos |
a list indicating which two dimensions should be ploted |
data |
the normalized data |
cats |
the catagories, used to label the plot |
lab |
the labeling information |
1 2 3 4 5 6 | heightFile<-"~/Dropbox/UTX-Alex/jan/combined_heights.bed"
catFile<-"~/Dropbox/UTX-Alex/jan/catagories"
cats<-as.character(unlist(read.table(catFile)))
score<-loadHeightFile(heightFile)$data
normData_eigen<-pca(score)
plotPCs(normData_eigen[[2]],c(1,3),normData_eigen[[1]],cats)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.