% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/format5.R
\name{openbd5con}
\alias{openbd5con}
\title{Open a persistent connection to a Format 5 binary dosage file}
\usage{
openbd5con(bd5info)
}
\arguments{
\item{bd5info}{Object returned by \code{getbdinfo}.}
}
\value{
An object of class \code{"bd5con"} to be passed to
\code{getbd5snp_con} and \code{closebd5con}.
}
\description{
Opens the .bdose file for reading and returns an object that holds the
connection open across multiple calls to \code{getbd5snp_con}.  The
connection is closed automatically when the object is garbage-collected
or when R exits; call \code{closebd5con} to close it explicitly.
}
