readBamAsBed: readBamAsBed

Description Usage Arguments Value Examples

View source: R/utilities.R

Description

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

Usage

1

Arguments

file

Character indicating path to bam file.

Value

GRanges object.

Examples

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

DEScan2 documentation built on Nov. 8, 2020, 5:01 p.m.