checkIfSampleIDsExist: Check if sample identifiers are stored in a BGEN file
Description
Check if sample identifiers are stored in a BGEN file, only support BGEN v1.2. Check link for more details.
Usage
checkIfSampleIDsExist(bgenFile)
Value
A logical value indicating whether sample identifiers are stored in the BGEN file. Returns TRUE if sample IDs are present, FALSE otherwise.
Arguments
bgenFile
a character of BGEN file. Sometimes, BGEN file does not include sample IDs. This information can be extracted from BGEN file. Please refer to link for more details.