vcftohapMat: Create a 'hapMat' object from variant call format ('vcf')...

Description Usage Arguments Value Examples

View source: R/vcf_to_hapMat.R

Description

This function creates a hapMat object from variant call format (vcf) file.

Usage

1
vcftohapMat(vcf_file_path)

Arguments

vcf_file_path

File path to the vcf file.

Value

An object of class hapMat.

Examples

1
2
3
4
5
6
7
## Not run: 
# Specify the file path.
vcf_file_path <- "C:/vcfData/vcfData.vcf.gz"
# Create a hapMat object from the vcf file.
ex_vcf_hapMat <- vcftohapMat(vcf_file_path) 

## End(Not run)  

perfectphyloR documentation built on March 8, 2021, 9:06 a.m.