pkgdown/header.html

Skip to contents

This function reads a BED file into a `data.table` and verifies that it includes the necessary columns for downstream processing. By default, it checks for the presence of 'chrom', 'chromStart', 'chromEnd', 'strand', and 'score'. If `sum_count = TRUE`, it also requires the 'sum_count' column.

Usage

plc_load_bed_file_wt_header(input_bed, sum_count = FALSE)

Arguments

input_bed

Character. Path to the input BED file.

sum_count

Logical. Whether to require the 'sum_count' column (default: FALSE).

Value

A `data.table` containing the BED file data with validated columns.