sampsInVCF {GGtools} | R Documentation

## enumerate samples available in a VCF file

### Description

enumerate samples available in a VCF file

### Usage

    sampsInVCF(tf)

### Arguments

`tf` | instance of `TabixFile` referring to a tabix-indexed VCF

### Value

vector of available sample identifiers

### Note

This package exports `TabixFile` for the sake of the example below.

### Examples

    tf = TabixFile(system.file("vcf/CEU.exon.2010_09.genotypes.vcf.gz", package="GGtools"))
    sampsInVCF(tf)

[Package GGtools version 5.16.0 Index]