Learn R Programming

cpp11bigwig (version 0.1.3)

read_bigbed: Read data from bigBed files.

Description

Columns are automatically typed based on the autoSql schema embedded in the bigBed file. Integer types (uint, int) become R integers, floating point types (float, double) become R doubles, and all other types (including array types like int[blockCount]) remain as character strings.

Usage

read_bigbed(bbfile, chrom = NULL, start = NULL, end = NULL)

Value

tibble

Arguments

bbfile

filename for bigBed file

chrom

read data for specific chromosome

start

start position for data

end

end position for data

See Also

Examples

Run this code
bb <- system.file("extdata", "test.bb", package = "cpp11bigwig")

read_bigbed(bb)

read_bigbed(bb, chrom = "chr10")

Run the code above in your browser using DataLab