import_vcf: Import VCF from File

View source: R/IO.R

import_vcfR 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


geneHapR documentation built on May 29, 2024, 11:59 a.m.