Read beds into a single tibble.

get_singlebed(bedpaths, sort = TRUE, pattern = ".bed")

Arguments

bedpaths

The vector contains the paths of bed files, can be dir_path.

sort

A boolean value. Default: TRUE.

pattern

The suffix of the bed files. default: '.bed'

Value

A tibble contains all the beds interval records

Examples

get_singlebed(c('./Encode_bed/ccc.bed', './peak/xxx.bed','./peak/zzz.bed'))
#> Error in enc2utf8(path): argument is not a character vector