-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hi,
I'm having trouble with this code:
> x <- attachContext(mutData = x,
+ chr_colName = "chr",
+ start_colName = "position",
+ end_colName = "position",
+ nucl_contextN = 3,
+ BSGenomeDb = hg38)
An error has occurred!
I traced down the place and found the following is causing the failure:
if ((! "BSgenome" %in% class(BSGenomeDb)) |
sum(c("pkgname", "organism") %in% methods::slotNames(BSGenomeDb)) != 2)
stop ("Please, provide a valid 'BSgenome'-class object")
It turns out that "organism" is not in methods::slotNames(BSGenomeDb).
Please suggest solutions.
Thanks.
Metadata
Metadata
Assignees
Labels
No labels