50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

PopGenome (version 2.1.6)

count.unknowns-methods: Calculate missing nucleotide frequencies

Description

A generic function to calculate the missing nucleotide frequencies.

Usage

## S3 method for class 'GENOME':
count.unknowns(object)

Arguments

object
An object of class "GENOME"

Value

  • Returned value is a modified object of class "GENOME" The slot GENOME.class@missing.freqs for the missing frequencies for the whole region. The slot GENOME.class@region.stats@missing.freqs for the missing frequencies for each SNP in a given region

Examples

Run this code
# GENOME.class <- readData("VCF", format="VCF", include.unknown=TRUE)
# GENOME.class@region.stats
# GENOME.class <- count.unknowns(GENOME.class)
# GENOME.class@missing.freqs
# GENOME.class@region.stats@missing.freqs

Run the code above in your browser using DataLab