readBamAsBed {DEScan2} | R Documentation |
read a bam file into a bed like format. forcing UCSC format for chromosomes names.
readBamAsBed(file)
file |
Character indicating path to bam file. |
GRanges object.
files <- list.files(system.file("extdata/bam", package="DEScan2"), full.names=TRUE) gr <- readBamAsBed(files[1])