getWindows: Convert BED file into data.frame of count windows

View source: R/getRCs.R

getWindowsR Documentation

Convert BED file into data.frame of count windows

Description

Convert BED file into data.frame of count windows

Usage

getWindows(filename, chr = FALSE)

Arguments

filename

filename of the BED file with absolute or relative path (structure of BED file without header: chromosome, exon start, exon end, exon name)

chr

indicates whether naming contains chr prefix

Value

a data.frame with the contents of the BED file with an additional gene name and exon name column

Examples

bed <- list.files(system.file("extdata", package = "panelcn.mops"),
                        pattern = ".bed$", full.names = TRUE)
countWindows <- getWindows(bed)

bioinf-jku/panelcn.mops documentation built on March 24, 2022, 1:19 a.m.