Noi/NOTES/2012-4-6

From ZhangLabWiki
Revision as of 18:55, 17 April 2012 by >Noi
Jump to navigation Jump to search
  • Link to calendar: [[1]]

Regression analysis of UCLA SZ data set

  • Continued from http://genome-tech.ucsd.edu/LabNotes/index.php/Noi/NOTES/2012-4-1 and after getting comments from Dr. Zhang during lab meeting (2012_04_04)
  • From the list of CpG sites from regression analysis. I performed PCA analysis again by adding the GA samples from Kang Zhang's lab as control (only the 73 good quality samples).
  • Note: I will add more information about analysis and PCA analysis result after removing CpG sites with less confident.
File:UCLA-GA age t2.5 p.png 
A=read.table("UCLA-GA_disease_t2.5_methylMatrix.txt",header=TRUE,row.names=1)
B=na.omit(A)
B$STDEV=NULL
B$min_RD=NULL
B$mean_RD=NULL
str(B)
'data.frame':	98 obs. of  169 variables:
pca_sites <- prcomp(B, scale=TRUE)
summary(pca_sites)
Importance of components:
                         PC1    PC2    PC3    PC4    PC5    PC6    PC7    PC8
Proportion of Variance  0.669 0.0290 0.0219 0.0183 0.0165 0.0133 0.0107 0.0097
write.table(file="disease_pca_sites.orig.rotations", pca_sites$rotation)
pca1 <- prcomp(t(B), scale=TRUE)
summary(pca1)
Importance of components:
                         PC1    PC2    PC3    PC4    PC5    PC6    PC7    PC8
Proportion of Variance 0.0722 0.0409 0.0384 0.0314 0.0302 0.0269 0.0246 0.0237

File:UCLA-GA disease t2.5 p.png 

File:UCLA-GA sex t2.5 p.png