DBA Error in DiffBind - How to format sampleSheet
0
0
Entering edit mode
@922c6a6e
Last seen 7 weeks ago
Canada

I am trying to create a dba object but get this error message:

Error in [.data.frame(peaks, , 2) : undefined columns selected

This is what my sampleSheet that I made from scratch looks like dba raw SampleSheet

CMPdba <- dba(minOverlap=2,sampleSheet="CMP_overlapping_enhancerszeros.csv",
            config=data.frame(AnalysisMethod=DBA_DESEQ2,th= 0.05,
                      DataType=DBA_DATA_GRANGES, RunParallel=TRUE, 
                      minQCth=15, 
                      bCorPlot=FALSE, reportInit="DBA", 
                      bUsePval=TRUE),
            scoreCol= 2, skipLines=1, 
            bAddCallerConsensus=FALSE, 
            bRemoveM=TRUE, bRemoveRandom=TRUE, 
            bSummarizedExperiment=FALSE,
            attributes= "DBA_ID")

I think its a problem with what I am putting as the file path under peaks but I do not know how to fix it.

DBA R DifferentialPeakCalling • 101 views
ADD COMMENT

Login before adding your answer.

Traffic: 321 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