CHIPseeker error now
0
0
Entering edit mode
5.6 years ago
tagMatrix_1 <- getTagMatrix(peak_1, weightCol =NULL, windows = promoter_1)
Error in split.default(1:length(windows), as.factor(seqnames(windows))) : 
  group length is 0 but data length > 0
In addition: Warning message:
In .Seqinfo.mergexy(x, y) :
  The 2 combined objects have no sequence levels in common. (Use
  suppressWarnings() to suppress this warning.)
  
R • 2.5k views
ADD COMMENT
0
Entering edit mode

It is a good idea to Google your error/warning messages, if you did the search then you would see that there is an issue at GitHub with a solution.

Seems like the problem was the chromosome column being labelled (1 instead of chr1)

Fixed with:

newStyle <- mapSeqlevels(seqlevels(peak), "UCSC")
peakchr <- renameSeqlevels(peak, newStyle)
ADD REPLY

Login before adding your answer.

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