CHIP Seq Analysis by DiffBind Package
1
0
Entering edit mode
21 months ago

Hi I am using DiffBind package for CHIP Seq Analysis

I have made a sample sheet for input. My samples have different dimension. This error is coming. Have anyone ever faced this problem?

library(DiffBind) Data <- dba(sampleSheet="SampleSheet.txt") 1 NA raw Error in if is.na(peaks)) { : argument is of length zero In addition: Warning message: In stripSpaces(samples) : Removed white space from chr1 27504469 27504745 3.700626815

Samples<-read.table("SampleSheet.txt", header=TRUE) Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, : line 21602 did not have 32 elements

Any comment? about how to solve this?

R ChIP-Seq • 472 views
0
Entering edit mode
21 months ago
Rory Stark ★ 1.6k

The second line seems to indicate that your SampleSheet.txt file has at least 21602 lines, is that correct? Can you show your samplesheet?

Something is incorrectly formatted, either in the sample sheet, or one (or more) of the Peak files, or both.