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

Description Usage Arguments Note Author(s) Examples

View source: R/methods.r

Description

Check for validity of a genclone or snpclone object

Usage

1
2
3
4
5

Arguments

x

a genclone or snpclone object

Note

a genclone object will always be a valid genind object and a snpclone object will always be a valid genlight object.

Author(s)

Zhian N. Kamvar

Examples

1
2
3
4
5
6
7
(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)

poppr documentation built on Aug. 22, 2018, 5:03 p.m.