Learn R Programming

geneHapR (version 1.2.4)

import_vcf: 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, ...)

Value

vcfR object

Arguments

file

file path of VCF file

...

pass to vcfR::read.vcfR()

Author

Zhangrenl

See Also

vcfR::read.vcfR()

Examples

Run this code

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

Run the code above in your browser using DataLab