loadBed {geneAttribution} | R Documentation |
Required *.BED file format (tab-separated): chr start end name (optional column: score). Sample files supplied with package are limited to chromosome 2.
loadBed(files, weights)
files |
A character vector containing *.BED file names |
weights |
An integer vector containing weighting for each bed file. Optional |
A list of GenomicRanges objects containing the data from the *.BED files, with weightings in the score column
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))