add.qtl: Add a QTL to Simulated Phenotype

Description Usage Arguments Value Examples

Description

Add a QTL to Simulated Phenotype

Usage

1
add.qtl(geno, pheno, qtl.pos, qtl.size, pheno.cols = 1)

Arguments

qtl.pos

position of QTL(s), either number of markers or relative position in genome (between 0 and 1)

qtl.size

size of QTL(s),

pheno.cols

selection of phenotype's column(s)

cross

"cross" object

Value

"cross" object

Examples

1
2
3
4
5
geno <- sim.cross.geno(250, nmar=10)
pheno <- sim.cross.pheno(0.01, geno)
plot(scan1(geno, pheno))
pheno2 <- add.qtl(geno, pheno, 0.75, 1)
plot(scan1(geno, pheno2))

simecek/HPQTL documentation built on May 29, 2019, 10 p.m.