updog2.1.6 package

Flexible Genotyping for Polyploids

betabinom

The Beta-Binomial Distribution

filter_snp

Filter SNPs based on the output of multidog().

flexdog_full

Flexible genotyping for polyploids from next-generation sequencing dat...

flexdog

Flexible genotyping for polyploids from next-generation sequencing dat...

format_multidog

Return arrayicized elements from the output of multidog.

get_q_array

Return the probabilities of an offspring's genotype given its parental...

is.flexdog

Tests if an argument is a flexdog object.

is.multidog

Tests if an argument is a multidog object.

log_sum_exp_2

Log-sum-exponential trick using just two doubles.

log_sum_exp

Log-sum-exponential trick.

multidog

Fit flexdog to multiple SNPs.

oracle_cor_from_joint

Calculate the correlation of the oracle estimator with the true genoty...

oracle_cor

Calculates the correlation between the true genotype and an oracle est...

oracle_joint

The joint probability of the genotype and the genotype estimate of an ...

oracle_mis_from_joint

Get the oracle misclassification error rate directly from the joint di...

oracle_mis_vec_from_joint

Get the oracle misclassification error rates (conditional on true geno...

oracle_mis_vec

Returns the oracle misclassification rates for each genotype.

oracle_mis

Calculate oracle misclassification error rate.

oracle_plot

Construct an oracle plot from the output of oracle_joint.

plot_geno

Make a genotype plot.

plot.flexdog

Draw a genotype plot from the output of flexdog.

plot.multidog

Plot the output of multidog.

rflexdog

Simulate GBS data from the flexdog likelihood.

rgeno

Simulate individual genotypes from one of the supported flexdog mode...

updog-package

updog: Flexible Genotyping for Polyploids

wem

EM algorithm to fit weighted ash objective.

Implements empirical Bayes approaches to genotype polyploids from next generation sequencing data while accounting for allele bias, overdispersion, and sequencing error. The main functions are flexdog() and multidog(), which allow the specification of many different genotype distributions. Also provided are functions to simulate genotypes, rgeno(), and read-counts, rflexdog(), as well as functions to calculate oracle genotyping error rates, oracle_mis(), and correlation with the true genotypes, oracle_cor(). These latter two functions are useful for read depth calculations. Run browseVignettes(package = "updog") in R for example usage. See Gerard et al. (2018) <doi:10.1534/genetics.118.301468> and Gerard and Ferrao (2020) <doi:10.1093/bioinformatics/btz852> for details on the implemented methods.

  • Maintainer: David Gerard
  • License: GPL (>= 3)
  • Last published: 2025-09-24