import.ucsc.bed: import a UCSC-format BED file

Description Usage Arguments Value Author(s) Examples

Description

import a UCSC-format BED file

Usage

1

Arguments

x

the path to a bed file

Value

a data.frame representation of the BED file. Any browser or track lines will be lost upon import.

Author(s)

Mark Cowley, 2011-11-28

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
f <- file.path(system.file(package="blat"), "examples", "bed9_with_hdr.bed")
head(import.ucsc.bed(f))

f <- file.path(system.file(package="blat"), "examples", "bed9_no_hdr.bed")
head(import.ucsc.bed(f))

f <- file.path(system.file(package="blat"), "examples", "bed6_with_hdr.bed")
head(import.ucsc.bed(f))
f <- file.path(system.file(package="blat"), "examples", "bed6_no_hdr.bed")
head(import.ucsc.bed(f))

f <- file.path(system.file(package="blat"), "examples", "bed4_no_hdr.bed")
head(import.ucsc.bed(f))

f <- file.path(system.file(package="blat"), "examples", "bed3_no_hdr.bed")
head(import.ucsc.bed(f))

drmjc/blat documentation built on May 15, 2019, 2:22 p.m.