openbd5con: Open a persistent connection to a Format 5 binary dosage file

View source: R/format5.R

openbd5conR Documentation

Open a persistent connection to a Format 5 binary dosage file

Description

Opens the .bdose file for reading and returns an object that holds the connection open across multiple calls to getbd5snp_con. The connection is closed automatically when the object is garbage-collected or when R exits; call closebd5con to close it explicitly.

Usage

openbd5con(bd5info)

Arguments

bd5info

Object returned by getbdinfo.

Value

An object of class "bd5con" to be passed to getbd5snp_con and closebd5con.


BinaryDosage documentation built on April 30, 2026, 1:09 a.m.