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

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

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,
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