Skip to content
Snippets Groups Projects
Commit bb191595 authored by Beibei Chen's avatar Beibei Chen
Browse files

runDiffBind R code works

parent 496066b2
Branches
Tags
1 merge request!1Merge develop into master
......@@ -100,10 +100,9 @@ process diffbind {
file "*"
"""
module load R/3.2.1-intel
cp design.txt design.shiny.txt
cp geneset.gmt geneset.shiny.gmt
Rscript $baseDir/scripts/dea.R
perl $baseDir/scripts/concat_edgeR.pl *.edgeR.txt
#cp design.txt design.shiny.txt
#cp geneset.gmt geneset.shiny.gmt
Rscript $baseDir/scripts/runDiffBind.R
"""
}
......
......@@ -16,7 +16,7 @@ dba.plotPCA(data, DBA_TISSUE, label=DBA_CONDITION)
dev.off()
#Save peak reads count
normcount <- dba.peakset(dta, bRetrieve=T)
normcount <- dba.peakset(data, bRetrieve=T)
write.table(as.data.frame(normcount),"diffbind.normcount.txt",sep="\t",quote=F,row.names=F)
#Retriving the differentially bound sites
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment