Hi,
I am trying to use ChIPseeker to annotate the ChIP peaks which I called using MACS2.
I don't know why I get this error:
Error in .normarg_seqnames1(seqnames) : object 'chr' not found
when I try to make objects for GRanges using this command:
H3K27me3_Rep1 <- with(H3K27me3_Rep1,
GRanges(chr,
IRanges(start,end),
length=length,
log10q = qvalue
))
The same command works perfectly fine on other CSV files. I have tried writing chromosome names in different formats like "chr1,chr2..." also "chrI, chrII..." etc nothing seems to work. Do you know what might be the problem?
Any help will be highly appreciated.
Thanks
-S
Please use the formatting bar (especially the
code
option) to present your post better. You can use backticks for inline code (`text` becomestext
), or select a chunk of text and use the highlighted button to format it as a code block. If your code has long lines with a single command, break those lines into multiple lines with proper escape sequences so they're easier to read and still run when copy-pasted. I've done it for you this time.Thanks for pointing it out. I didn't know.