Learn R Programming

mappoly (version 0.4.1)

check_data_sanity: Data sanity check

Description

Checks the consistency of a dataset

Usage

check_data_sanity(x)

Value

if consistent, returns 0. If not consistent, returns a vector with a number of tests, where TRUE indicates a failed test.

Arguments

x

an object of class mappoly.data

Author

Marcelo Mollinari, mmollin@ncsu.edu

References

Mollinari, M., and Garcia, A. A. F. (2019) Linkage analysis and haplotype phasing in experimental autopolyploid populations with high ploidy level using hidden Markov models, _G3: Genes, Genomes, Genetics_. tools:::Rd_expr_doi("10.1534/g3.119.400378")

Examples

Run this code
check_data_sanity(tetra.solcap)

Run the code above in your browser using DataLab