Learn R Programming

geneNR (version 2.0.1)

import_vcf: Imports VCF (Variant Call Format) data file

Description

Imports VCF (Variant Call Format) data file

Usage

import_vcf(file_path)

Value

A vcfR object containing the imported data

Arguments

file_path

Provide the actual path of the VCF file

Examples

Run this code
# \donttest{
demo_SNP <- system.file("extdata", "demo_SNP.vcf", package = "geneNR")
vcf_data <- import_vcf(demo_SNP)
vcf_data
# }

Run the code above in your browser using DataLab