vcfLoad: Loads a vcf and parse by SNP information per sample

Description Usage Arguments Value Examples

Description

Loads a vcf and parse by SNP information per sample

Usage

1
vcfLoad(filePath = NULL, SNPstart = NA, SNPend = NA)

Arguments

filePath

full path to the vcf file

SNPstart

number specifying which SNP to start to read

SNPend

number specifying which SNP to read last

Value

A data.table of parsed SNP in long format

Examples

1
2
3
4
# reads all SNPs from the example.vcf
vcfLoad(filePath = "example.vcf")
# reads the 500th up to 3000th SNP
vcfLoad(filePath = "example.vcf", SNPstart = 500, SNPend = 3000)

dinmatias/reconproGS documentation built on May 19, 2019, 1:43 a.m.