I am trying to annotate the differentially methylation regions in the samples using the genomation package. I downloaded a UCSC bed file (txt format). I used the following settings in the UCSC browser:
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'x' in selecting a method for function 'nearest': error in evaluating the argument 'x' in selecting a method for function 'ranges': subscript contains NAs
In addition: Warning messages:
1: In .Seqinfo.mergexy(x, y) :
The 2 combined objects have no sequence levels in common. (Use
suppressWarnings() to suppress this warning.)
2: In .Seqinfo.mergexy(x, y) :
The 2 combined objects have no sequence levels in common. (Use
suppressWarnings() to suppress this warning.)
3: In .Seqinfo.mergexy(x, y) :
The 2 combined objects have no sequence levels in common. (Use
suppressWarnings() to suppress this warning.)
4: In .Seqinfo.mergexy(x, y) :
The 2 combined objects have no sequence levels in common. (Use
suppressWarnings() to suppress this warning.)
5: In .Seqinfo.mergexy(x, y) :
The 2 combined objects have no sequence levels in common. (Use
suppressWarnings() to suppress this warning.)
6: In .Seqinfo.mergexy(x, y) :
The 2 combined objects have no sequence levels in common. (Use
suppressWarnings() to suppress this warning.)
I think the error has something to do with "different chromosome naming conventions used for the annotation file and methylation call file". But I am not sure how to get around this error.
Any help in how to solve this problem would be much appreciated.