Closed emanuelavilla closed 5 months ago
Can you show the output of Annotation(ATAC.merged)
?
I checked and it was NULL. So I added the gene annotation to the merged object and now everything works. Thanks
Ok, I have added a more informative error message now when the annotations are missing
I am running this code
ATAC.merged.cf <- ClosestFeature(ATAC.merged, regions = rownames(ATAC.merged.DARs)) ,
where ATAC.merged is my object and ATAC.merged.DARs the result of FindAllMArkers and looks like
However, it returned this error I cannot understand
Error in h(simpleError(msg, call)) : error in evaluating the argument 'x' in selecting a method for function 'seqlevels': unable to find an inherited method for function ‘seqinfo’ for signature ‘"NULL"’