Bed2Granges: Read a bed file as Genomic Ranges

Description Usage Arguments Value Examples

View source: R/Motif2Site.R

Description

Read a bed file as Genomic Ranges.

Usage

1
Bed2Granges(fileName)

Arguments

fileName

A table delimeted file in bed format

Value

granges format of given coordinates

Examples

1
2
3
4
yeastExampleFile=system.file("extdata", "YeastSampleMotif.bed",
     package="Motif2Site")
ex <- Bed2Granges(yeastExampleFile)
ex

ManchesterBioinference/Motif2Site documentation built on Feb. 13, 2022, 2:03 a.m.