Read Bam file for Graduation project
0
0
Entering edit mode
6.2 years ago

how to solve this ?

the code:

bamf <- system.file("file.bam",package="rbamtools",idx=FALSE,verbose=0)
r1 <- bamReader(bamf)

error:

Error in .local(.Object, ...) : 
  [bam_reader_open] Opening bam_file "" failed!
R • 769 views
ADD COMMENT
1
Entering edit mode

Have you checked the relevant help for rbamtools? Is the file in your working directory for R?

ADD REPLY
0
Entering edit mode

yes it in the same directory ...

ADD REPLY

Login before adding your answer.

Traffic: 2002 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6