Learn R Programming

GGtools (version 5.8.0)

sampsInVCF: 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

Examples

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

Run the code above in your browser using DataLab