count.unknowns-methods: Calculate missing nucleotide frequencies

Description Usage Arguments Value Examples

Description

A generic function to calculate the missing nucleotide frequencies.

Usage

1
2
## S4 method for signature '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

1
2
3
4
5
# 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

PopGenome documentation built on Feb. 1, 2020, 1:07 a.m.