Return the number of genotyped markers in an object.
If an mpcross object contains multiple experiments, all experiments are required to have the same markers. So only one number is returned, in all cases.
Number of genotyped markers
Return the number of genotyped markers in an object.
If an mpcross object contains multiple experiments, all experiments are required to have the same markers. So only one number is returned, in all cases.
nMarkers(object)# S4 method for mpcross
nMarkers(object)
# S4 method for geneticData
nMarkers(object)
The mpcross object from which to extract the marker names
The number of markers in an object of class mpcross.