readBamAsBed: readBamAsBed

View source: R/utilities.R

readBamAsBedR Documentation

readBamAsBed

Description

read a bam file into a bed like format. forcing UCSC format for chromosomes names.

Usage

readBamAsBed(file)

Arguments

file

Character indicating path to bam file.

Value

GRanges object.

Examples

files <- list.files(system.file("extdata/bam", package="DEScan2"),
                    full.names=TRUE)
gr <- readBamAsBed(files[1])

drighelli/DEScan2 documentation built on March 21, 2023, 3:06 p.m.