Learn R Programming

GRAB (version 0.2.2)

getSampleIDsFromBGEN: Get sample identifiers from BGEN file

Description

Extract sample identifiers from BGEN file (only support BGEN v1.2, check link)

Usage

getSampleIDsFromBGEN(bgenFile)

Value

A character vector of sample identifiers extracted from the BGEN file.

Arguments

bgenFile

a character of BGEN file.

Examples

Run this code

BGENFile <- system.file("extdata", "simuBGEN.bgen", package = "GRAB")
getSampleIDsFromBGEN(BGENFile)

Run the code above in your browser using DataLab