genotypeD: genotypeD Object

View source: R/genotypeD.R

genotypeDR Documentation

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.

Value

the genotypeD class extends the genotype class.

Author(s)

Jarrod Hadfield j.hadfield@ed.ac.uk

See Also

genotype, summary.genotypeD

Examples

l1<-rbinom(100,1,0.5)
l1<-genotypeD(l1)

MasterBayes documentation built on March 19, 2026, 5:07 p.m.