powered by
hapMat
vcf
This function creates a hapMat object from variant call format (vcf) file.
vcftohapMat(vcf_file_path)
File path to the vcf file.
An object of class hapMat.
# 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) # } # NOT RUN { # }
Run the code above in your browser using DataLab