I am new to methylation analysis and I'm using RnBeads (RnBeads_1.4.0) for the first time.
I'm running the code below and the section "Normalization" in the report says:
"Sample average methylation cannot be visualized because no valid Sentrix
ID and Sentrix Position information could be extracted from the sample
annotation table."
I'm sure my sample_annotation.csv has the Sentrix ID and position. Looking at the standard output, however, I see this:
2017-02-22 18:19:35 1.7 STATUS STARTED Normalization Procedure
2017-02-22
18:19:37 1.8 WARNING Incompatible methods for object
and method: normalization with method swan cannot be applied to
MethylationEPIC data at the moment. Changed the normalization method to
"none"
2017-02-22 18:19:37 1.8 WARNING Incompatible methods for object and background correction method: ]
no background correction on the MethylationEPIC data possible at the moment
I thought RnBeads could be used for EPIC array analysis, but maybe it can't fully analyze EPIC data?
Thanks!
This is my code:
library('RnBeads')
data.dir <- "."
idat.dir <- file.path(data.dir, "idat")
sample.annotation <- file.path(idat.dir, "sample_annotation.csv")
analysis.dir <- "rnbeads/analysis"
rnb.options(filtering.sex.chromosomes.removal=TRUE, identifiers.column="Sample_ID")
rnb.run.analysis(dir.reports='rnbeads/reports', sample.sheet=sample.annotation, data.dir=idat.dir, data.type="idat.dir")
# sample_annotation.csv
Sample_Name,Sample_Well,Sample_Plate,Sample_Group,Pool_ID,Sentrix_ID,Sentrix_Position
S1,A1,1,CORZ-24S-A1,,200673610032,R01C01
S2,B1,1,CORZ-24S-B1,,200673610032,R02C01
S3,C1,1,CORZ-24S-C1,,200673610032,R03C01