% 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,
  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{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.
}
