I am trying get motifs positions within ATAC-Seq peaks:
motif_ranges <- matchMotifs(my_PFMatrixList, peak_granges, genome = "hg38", out = "positions")
And I get the following error:
Error in (function (classes, fdef, mtable) : unable to find an inherited method for function ‘bg’ for signature ‘"PFMatrix"’
I am trying get motifs positions within ATAC-Seq peaks:
motif_ranges <- matchMotifs(my_PFMatrixList, peak_granges, genome = "hg38", out = "positions")
And I get the following error: Error in (function (classes, fdef, mtable) : unable to find an inherited method for function ‘bg’ for signature ‘"PFMatrix"’