# NOT RUN {
targetbed <- system.file("extdata", "regions_toy.bed", package = "abemus")
pacbamfolder <- system.file("extdata", "pacbam_data", package = "abemus")
pacbamfolder_bychrom <- tempdir()
split_pacbam_bychrom(targetbed,pacbamfolder,pacbamfolder_bychrom)
# }
Run the code above in your browser using DataLab