load_bed: Load fragment data files or BED data files

Description Usage Arguments Details Value

Description

Fragment data files are essentially BED data files. load_fragments and load_bed will load these data files into data.table objects.

Usage

1
2
3
load_bed(file_path, region = NULL)

load_fragments(file_path, region = NULL)

Arguments

file_path

Path to the data file (in tab-separated values format, a.k.a "tsv").

region

Which genomic region to load. Can be either a character vector following the UCSC convention, e.g. 21:1-9411192, or a GenomicRanges::GRanges object. Default is NULL.

Details

If regions is not NULL, load_fragments will invoke tabix to load the data.

Value

A data.table object


haizi-zh/bioessentials documentation built on April 10, 2021, 2:34 p.m.