loadBed: Load UCSC *.BED files containing empirical data

Description Usage Arguments Value Examples

View source: R/geneAttribution.R

Description

Required *.BED file format (tab-separated): chr start end name (optional column: score). Sample files supplied with package are limited to chromosome 2.

Usage

1

Arguments

files

A character vector containing *.BED file names

weights

An integer vector containing weighting for each bed file. Optional

Value

A list of GenomicRanges objects containing the data from the *.BED files, with weightings in the score column

Examples

1
2
3
fileName1 <- system.file("extdata", "hiCRegions.b38.bed", package="geneAttribution")
fileName2 <- system.file("extdata", "eqtlHaplotypeBlocks.b38.bed", package="geneAttribution")
loadBed(c(fileName1, fileName2), c(2, 5))

geneAttribution documentation built on Nov. 8, 2020, 5:17 p.m.