readVCF: Import VCF file

View source: R/raw_process.R

readVCFR Documentation

Import VCF file

Description

Function to import raw single and multi-sample VCF files. The function required the R-package data.table for faster importing.

Usage

readVCF(vcf.file.path, verbose = FALSE)

Arguments

vcf.file.path

path to the vcf file

verbose

logical. show progress

Value

Returns a list with vcf table in a data frame, excluding meta data.

Author(s)

Piyal Karunarathne

Examples

## Not run: vcf.file.path <- paste0(path.package("rCNV"), "/example.raw.vcf.gz")
vcf <- readVCF(vcf.file.path)
## End(Not run)


rCNV documentation built on Sept. 30, 2024, 9:39 a.m.