markerinsert: To insert marker in genotype.

Description Usage Arguments Author(s) Examples

View source: R/RcppExports.R

Description

a method that can insert marker in genotype.

Usage

1
markerinsert(mp,geno,map,cl,gg1,gg2,gg0,flagRIL)

Arguments

mp

linkage map matrix after insert.

geno

genotype matrix.

map

linkage map matrix.

cl

walk speed.

gg1

raw covariate matrix.

gg2

code for type 1.

gg0

code for missing.

flagRIL

RIL population or not.

Author(s)

Zhang Ya-Wen, Wen Yang-Jun, Wang Shi-Bo, and Zhang Yuan-Ming
Maintainer: Yuanming Zhang<[email protected]>

Examples

1
2
3
4
5
6
7
mp=matrix(c(197.9196,198.7536,199.5876,200.4216,201.2453,
202.0691,202.8928,203.7521,204.6113,205.4706,206.3298,207.1891,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,3,3,3,3,3,3,
1,1,1,2,2,2,3,3,3,3,3,3,1,2,3,4,5,6,7,8,9,10,11,12),12,5)
map=matrix(c(1,1,1,1,197.9196,200.4216,202.8928,207.1891),4,2)
geno=matrix(c(1,99,99,99),1,4)
QTL.gCIMapping::markerinsert(mp,geno,map,cl=1,gg1=1,gg2=-1,gg0=99,flagRIL=1)

QTL.gCIMapping documentation built on Oct. 17, 2018, 9:04 a.m.