This is the internal constructor of marker objects. It does not do any
input validation and should only be used in programming scenarios, and only
if you know what you are doing. Most users are recommended to use the regular
constructor marker().
Usage
newMarker(
alleleMatrixInt,
alleles,
afreq,
name = NA_character_,
chrom = NA_character_,
posMb = NA_real_,
mutmod = NULL,
pedmembers,
sex
)
Value
A marker object.
Arguments
alleleMatrixInt
An integer matrix.
alleles
A character vector.
afreq
A numeric vector.
name
A character of length 1.
chrom
A character of length 1.
posMb
A numeric of length 1.
mutmod
A mutation model.
pedmembers
A character vector.
sex
An integer vector.
Details
See marker() for more details about the marker attributes.