Learn R Programming

MasterBayes (version 2.58)

genotypeD: genotypeD Object

Description

Extends the genotype class for dominant marker data

Usage

genotypeD(a1, locus=NULL)

Arguments

a1

vector of scored genotypes (0 or 1) for dominant markers

locus

object of class locus, gene, or marker, holding information about the source of this genotype.

See Also

genotype, summary.genotypeD

Examples

Run this code
# NOT RUN {
l1<-rbinom(100,1,0.5)
l1<-genotypeD(l1)
# }

Run the code above in your browser using DataLab