小工具知识网

当前位置: 首页 > 行业知识 > ChAMP甲基化数据分析:从β值矩阵开始

行业知识

ChAMP甲基化数据分析:从β值矩阵开始

2026-12-03 19:24:00 来源:互联网转载

之前���推文详细介绍了ChMAP包从IDAT文件开始的甲基化数据分析流程,今天说一下从β矩阵开始的分析流程。

16.ChAMP分析甲基化数据:标准流程

数据准备

还是用GSE149282这个数据。

suppressMessages(library(GEOquery))

首先获取GSE149282这个数据的β矩阵文件,可以通过getGEO()函数下载,但是由于网络原因经常下载失败,所以我直接去GEO官网下载了这个数据,放到指定文件夹下读取即可。

GSE149282 >][===========================][You may want to process champ.QC() next.]

可以和上次直接从IDAT读取的对比一下,可以看到少了很多信息,所以有的过滤不能执行,比如filterDetP、filterBeads。

下面的分析就和上一篇推文一模一样了

# 数据预处理champ.QC(beta = myLoad$beta,         pheno = myLoad$pd$Sample_Type,         resultsDir="./CHAMP_QCimages1/"         ) myNorm  as.data.frame(), # 这里需要注意          pd=myLoad$pd)
[===========================][>]-----------------------------champ.SVD Results will be saved in ./CHAMP_SVDimages/ .Your beta parameter is data.frame format. ChAMP is now changing it to matrix.[SVD analysis will be proceed with 713720 probes and 24 samples.][ champ.SVD() will only check the dimensions between data and pd, instead if checking if Sample_Names are correctly matched (because some user may have no Sample_Names in their pd file),thus please make sure your pd file is in accord with your data sets (beta) and (rgSet).](character):GSM4495491, GSM4495492, GSM4495493, GSM4495494, GSM4495495, GSM4495496, GSM4495497, GSM4495498, GSM4495499, GSM4495500, GSM4495501, GSM4495502, GSM4495503, GSM4495504, GSM4495505, GSM4495506, GSM4495507, GSM4495508, GSM4495509, GSM4495510, GSM4495511, GSM4495512, GSM4495513, GSM4495514(character):200811050117_R01C01, 200811050117_R02C01, 200811050117_R03C01, 200811050117_R04C01, 200811050117_R05C01, 200811050117_R06C01, 200811050117_R07C01, 200811050117_R08C01, 200811050116_R01C01, 200811050116_R02C01, 200811050116_R03C01, 200811050116_R04C01, 200811050116_R05C01, 200811050116_R06C01, 200811050116_R07C01, 200811050116_R08C01, 202193490061_R01C01, 202193490061_R02C01, 202193490061_R03C01, 202193490061_R04C01, 202193490061_R05C01, 202193490061_R06C01, 202193490061_R07C01, 202193490061_R08C01(character):normal, cancer[champ.SVD have automatically select ALL factors contain at least two different values from your pd(sample_sheet.csv), if you don't want to analysis some of them, please remove them manually from your pd variable then retry champ.SVD().][Factors are ignored because they only indicate Name or Project, or they contain ONLY ONE value across all Samples.]     Sentrix_ID Sentrix_Position  Sample_Type[1,]  0.4607709        0.4607709 4.146041e-05[2,]  0.4607709        0.4607709 9.406855e-02[3,]  0.4607709        0.4607709 4.189234e-01[4,]  0.4607709        0.4607709 3.263485e-01[5,]  0.4607709        0.4607709 7.728300e-01

后续的分析和之前推文中介绍的一模一样,就不演示了,大家可以移步之前的推文:

16.ChAMP分析甲基化数据:标准流程

上一篇:怎么连接服务器共享数据?

下一篇:阿里云日志存服务器