import_vcf {geneHapR}R Documentation

Import VCF from File

Description

import *.vcf structured text format, as well as the compressed ⁠*.vcf.gz⁠ format.

Usage

import_vcf(file = file, ...)

import_vcf(file = file, ...)

Arguments

file

file path of VCF file

...

pass to vcfR::read.vcfR()

Value

vcfR object

Author(s)

Zhangrenl

See Also

vcfR::read.vcfR()

Examples


vcfPath <- system.file("extdata", "var.vcf.gz", package = "geneHapR")
vcf <- import_vcf(file = vcfPath)
vcf


[Package geneHapR version 1.2.4 Index]