Closed:box plot of idat files
1
1
Entering edit mode
nia ▴ 30
@nia-12707
Last seen 4.1 years ago

Dear All,

 I am working on a dataset which consist of idat files I have design the code which is given below now, I want to make its box plot before and after normalization, I am unable to draw a boxplot code as I never work with idat files before kindly help me out.

Here is the code:

library(limma)
idatfiles = dir(pattern = ".idat")              
bgxfile = dir(pattern = ".bgx")                
data = read.idat(idatfiles, bgxfile)           
datanorm <- neqc(data)                          
f = as.factor(c("aaa", "bbb", "aaa", "bbb", ......."aaa"))    
design <- model.matrix(~0 + f)
colnames(design) <- levels(f)
fit <- lmFit(datanorm, design)
cont.matrix <- makeContrasts("bbb-aaa", levels=design)
fit2 <- contrasts.fit(fit, cont.matrix)
fit2 <- eBayes(fit2)
output = topTable(fit2, number=Inf)
degs<- subset(output, output$adj.P.Val < 0.1)    
boxplot idat limma • 75 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 766 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6