GenotypeMatrix: Convert VCF to genotype matrix and return

Description Usage Arguments

Description

Given a "vcfLink" object, converts the VCF file to genotype matrix format and returns this matrix. See the "–012" flag in the vcftools documentation.

Usage

1
2
3
4
GenotypeMatrix(object, ...)

## S4 method for signature 'vcfLink'
GenotypeMatrix(object, filename = NULL, verbose = TRUE)

Arguments

object

an object of class "vcfLink"

verbose

print stdout from vcftools?

output.file

the filename to save the genotype matrix to, if you want to write it outside of R


nspope/r2vcftools documentation built on Oct. 10, 2019, 2:06 a.m.