write_bed: Write data frame to disk in BED format

Description Usage Arguments

Description

If the target file indicates gzip-compression, will invoke bgzip rather than standard gzip. Another feature is, if the output file should contain header lines, they will start with #, as specified in BED format specification.

Usage

1
write_bed(dt, file_path, col_names = TRUE, create_index = FALSE, ...)

Arguments

dt

Data frame to write.

file_path

Output file name.

col_names

A logical value indicating whether to output colum names.

create_index

A logical value indicating whether to create an index file. Ignored if the output is not gzipped.


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