| readBam {ORFik} | R Documentation |
Only for single end reads Safer version that handles the most important error done. In the future will use a faster .bam loader for big .bam files in R.
readBam(path, chrStyle = NULL)
path |
a character path to .bam file |
chrStyle |
a GRanges object, or a |
a GAlignments object of bam file
Other utils:
bedToGR(),
convertToOneBasedRanges(),
fimport(),
findFa(),
fread.bed(),
optimizeReads(),
readWig()
bam_file <- system.file("extdata", "ribo-seq.bam", package = "ORFik")
readBam(bam_file, "UCSC")