Learn R Programming

DEploid (version 0.5.4)

extractVcf: Extract VCF information

Description

Extract VCF information

Usage

extractVcf(filename)

Value

A dataframe list with members of haplotypes, proportions and log likelihood of the MCMC chain.

  • CHROM SNP chromosomes.

  • POS SNP positions.

  • refCount reference allele count.

  • altCount alternative allele count.

Arguments

filename

VCF file name.

See Also

  • extractCoverageFromVcf

  • extractCoverageFromTxt

Examples

Run this code
vcfFile = system.file("extdata", "PG0390-C.test.vcf.gz", package = "DEploid")
vcf = extractVcf(vcfFile)

Run the code above in your browser using DataLab