extractCoverageFromVcf: Extract VCF information

View source: R/RcppExports.R

extractCoverageFromVcfR Documentation

Extract VCF information

Description

Extract VCF information

Usage

extractCoverageFromVcf(filename, samplename)

Arguments

filename

VCF file name.

samplename

Sample name

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.

See Also

  • extractCoverageFromVcf

  • extractCoverageFromTxt

Examples

vcfFile = system.file("extdata", "PG0390-C.test.vcf.gz", package = "DEploid.utils")
vcf = extractCoverageFromVcf(vcfFile, "PG0390-C")


DEploid.utils documentation built on April 3, 2025, 9:58 p.m.