Learn R Programming

MPR.genotyping (version 0.8)

base2Allele: Get Initial Allele from SNP Matrix

Description

Get initial parental genotypes from SNP matrix randomly.

Usage

base2Allele(baseData = NULL)

Arguments

baseData

matrix of SNP

Value

matrix :2 columns and nrows of SNP data

Details

base : matrix of SNP

See Also

globalMPRByMarkers

Examples

Run this code
# NOT RUN {
base=matrix(c("A",NA,"G",
		NA,"T","A",
		"C","G",NA),3,3,byrow=TRUE)
base2Allele(base)
# }

Run the code above in your browser using DataLab