应用于biostrings包函数的BSgenome数据加载问题
我安装了 BSgenome 似乎可以工作,但无法加载库。以下代码来自 Biostrings 包,
> require(BSgenome)
> require(Biostrings)
> library(BSgenome.Dmelanogaster.UCSC.dm3)
Error in library(BSgenome.Dmelanogaster.UCSC.dm3) :
there is no package called 'BSgenome.Dmelanogaster.UCSC.dm3'
> subject <- Dmelanogaster$chr3R
Error: object 'Dmelanogaster' not found
> Lpattern <- "AGCTCCGAG"
> Rpattern <- "TTGTTCACA"
> matchLRPatterns(Lpattern, Rpattern, 500, subject) # 1 match
Error in function (classes, fdef, mtable) :
unable to find an inherited method for function "matchLRPatterns", for signature "standardGeneric"
我将感谢您的帮助。您可以在您的计算机上尝试一下,看看这是否适合您?可能存在什么潜在问题。
I installed BSgenome seems working but I am not able to load library. The following code are from Biostrings package
> require(BSgenome)
> require(Biostrings)
> library(BSgenome.Dmelanogaster.UCSC.dm3)
Error in library(BSgenome.Dmelanogaster.UCSC.dm3) :
there is no package called 'BSgenome.Dmelanogaster.UCSC.dm3'
> subject <- Dmelanogaster$chr3R
Error: object 'Dmelanogaster' not found
> Lpattern <- "AGCTCCGAG"
> Rpattern <- "TTGTTCACA"
> matchLRPatterns(Lpattern, Rpattern, 500, subject) # 1 match
Error in function (classes, fdef, mtable) :
unable to find an inherited method for function "matchLRPatterns", for signature "standardGeneric"
I will appreciate your help. Can you try in your computer to see if this works for your? what could be potential problem.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
感谢 Roman Lustrik,以下代码可以运行:
Thanks to Roman Lustrik the following codes works: