Learn R Programming

poppr (version 2.9.6)

is.snpclone: Check for validity of a genclone or snpclone object

Description

Check for validity of a genclone or snpclone object

Usage

is.snpclone(x)

is.clone(x)

is.genclone(x)

Arguments

x

a genclone or snpclone object

Author

Zhian N. Kamvar

Examples

Run this code
(sc <- as.snpclone(glSim(100, 1e3, ploid=2, parallel = FALSE), 
                   parallel = FALSE, n.cores = 1L))
is.snpclone(sc)
is.clone(sc)
data(nancycats)
nanclone <- as.genclone(nancycats)
is.genclone(nanclone)

Run the code above in your browser using DataLab