sampsInVCF: enumerate samples available in a VCF file

Description Usage Arguments Value Note Examples

View source: R/cisa.R

Description

enumerate samples available in a VCF file

Usage

1

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

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

GGtools documentation built on Nov. 8, 2020, 6:32 p.m.