count.unknowns-methods: Calculate missing nucleotide frequencies

count.unknowns-methodsR Documentation

Calculate missing nucleotide frequencies

Description

A generic function to calculate the missing nucleotide frequencies.

Usage


## 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


# 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


pievos101/PopGenome documentation built on Feb. 24, 2023, 7:11 a.m.