import_vcf: import vcf from file

View source: R/import.R

import_vcfR Documentation

import vcf from file

Description

import vcf file

Usage

import_vcf(vcf_file = vcf_file, ...)

import_vcf(vcf_file = vcf_file, ...)

Arguments

vcf_file

file path of vcf

...

pass to vcfR::read.vcfR

Value

vcfR object

Author(s)

Zhangrenl

Examples

## Not run: 
data("quickHap_test")
vcfR::write.vcf(vcf, file = "test.vcf.gz")
vcf <- import_vcf(file = "test.vcf.gz")
unlink("test.vcf.gz")

## End(Not run)

ZhangRenL/quickHapR documentation built on June 17, 2022, 12:04 a.m.