Learn R Programming

pedtools (version 0.9.0)

nMarkers: The number of markers attached to a pedigree

Description

The number of markers attached to a pedigree

Usage

nMarkers(x)

hasMarkers(x)

Arguments

x

A ped object.

Value

The function nMarkers returns the number of marker objects attached to x. The function hasMarkers returns TRUE if nMarkers(x) > 0.