Read and write

Read and write BED-like data files.

read_bed()

Load a BED-format file

write_bed()

Write a data.table to file

Data manipulation

Perform various manipulations on BED-like data.

map_bed()

Map over scaffold intervals

merge_bed()

Merge overlapping intervals

cluster_bed()

Cluster intervals

slop_bed()

Slop intervals

intersect_bed()

Apply intersect operation between two tables

subtract_bed()

Subtract

exclude_bed()

Exclude certain regions

complement_bed()

Generate complement

shuffle_bed()

Shuffle intervals

Statistics

jaccard_bed()

Jaccard distance

reldist_bed()

Relative distance distribution

Other utilities

make_windows()

Make windows along genome

make_random_bed()

Randomly place intervals of fixed width across genome

rollsum()

Calculate rolling sums

rollmean()

Calculate rolling means

as.bedtorch_table()

Convert a GenomicRanges or a data.frame BED to standard data.table BED