utils: is.scanonevar

Description Usage Arguments Value Author(s) Examples

Description

utilities for working with scanonevar objects

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11

Arguments

x

object being tested

Value

TRUE is X is a scanonevar object, FALSE otherwise.

TRUE if x is a scanone var with perms (typically, outputted from scanonevar.perm), and FALSE otherwise.

TRUE if x is a cross object, FALSE otherwise.

TRUE if x is a cross object of type F2, FALSE otherwise

TRUE if x is a cross object of type 'bc' (backcross), FALSE otherwise

TRUE if x is a cross object with valid genoprobs for each chromosome, FALSE otherwise

Author(s)

Robert W. Corty [email protected]

Robert W. Corty [email protected]

Robert W. Corty [email protected]

Robert W. Corty [email protected]

Robert W. Corty [email protected]

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
is.scanonevar(x = 3)

test.cross <- qtl::sim.cross(map = qtl::sim.map(len = rep(20, 4), n.mar = 5))
test.cross <- qtl::calc.genoprob(cross = test.cross, step = 2)

x <- scanonevar(cross = test.cross)
is.scanonevar(x)

is.cross(3)
is.cross(qtl::sim.cross(map = qtl::sim.map()))

is.cross(3)
is.cross(qtl::sim.cross(map = qtl::sim.map()))

is.cross(3)
is.cross(qtl::sim.cross(map = qtl::sim.map()))

a <- qtl::sim.cross(map = qtl::sim.map())
is.cross.w.genoprobs(x = a)
b <- qtl::calc.genoprob(cross = a)
is.cross.w.genoprobs(x = b)

vqtl documentation built on May 2, 2019, 3:29 p.m.