I am trying to run ExomeDepth R package
BAM_set1<-c("/path_to_folder/Sample1.bam") Set1_CountData<-getBamCounts(bed.frame=exons.hg19, bam.files=BAM_set1) Parse 1 BAM files  "/path_to_folder/Sample1.bam" Error in .io_check_exists(path(con)) : file(s) do not exist: "/path_to_folder/Sample1.bam" getwd()  "/path_to_folder/"
Getting the following error. But in R I am in the right folder where my BAMs are present and also have given the entire path to the file when giving BAM list. Have uploaded all the dependent libraries for running ExomeDepth and R version 2.15.1 (2012-06-22) Platform: x86_64-redhat-linux-gnu (64-bit)
Any help much appreciated !!