Entering edit mode
Enter the body of text here
Code should be placed in three backticks as shown below
```r
include your problematic code here with any corresponding output
please also include the results of running the following in an R session
sessionInfo( )
```
I am not sure why it says file not found.
This is not how you define vectors in R. Try
c("file1.bam", "file2.bam")
. The way you do it creates a single string. Please for the future add error messages and code as text and then highlight with markdown. For general bioinformatics question biostars.org or the bioinformatic subReddit is more appropriate as this tool does not seem to be a Bioc package.