Entering edit mode
6.5 years ago
owen
▴
10
Hi, I am using ChIPQC package for assessing the quality of ChIP-Seq data. However, when I was trying to constructing a ChIPQCexperiment object, there was always an error:
chipObj = ChIPQC(samples, annotation = "hg19", blacklist = NULL, chromosome = "chr1")
FA_1 G3 FA endogenous basal 1 narrow
FB_1 G3 FB endogenous basal 1 narrow
FC_1 G29 FC endogenous basal 1 narrow
Compiling annotation...
Error in names(samplelist) <- unique(c(rownames(meta), names(controlist))) :
'names' attribute [6] must be the same length as the vector [5]
Did anyone know how to deal with it? Thank you.
You seem to have either more samples than sample names or vice versa. What is the output of
length(samples)andunique(c(rownames(meta), names(controlist)))