% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/duckhts.R
\name{rduckhts_bed}
\alias{rduckhts_bed}
\title{Create BED Table}
\usage{
rduckhts_bed(
  con,
  table_name,
  path,
  region = NULL,
  index_path = NULL,
  scan_mode = NULL,
  overwrite = FALSE
)
}
\arguments{
\item{con}{A DuckDB connection with DuckHTS loaded}

\item{table_name}{Name for the created table}

\item{path}{Path to the BED file}

\item{region}{Optional genomic region for tabix-backed BED queries}

\item{index_path}{Optional explicit path to a BED tabix index}

\item{scan_mode}{Optional scan mode. Use \code{"auto"} (default extension
behavior) or \code{"sequential"} to force full-file streaming/counting
instead of index-backed count paths. Sequential mode is incompatible with
\code{region}.}

\item{overwrite}{Logical. If TRUE, overwrites an existing table}
}
\value{
Invisible TRUE on success
}
\description{
Creates a DuckDB table from a BED file using the DuckHTS extension.
}
