print.ped: Printing pedigrees

View source: R/ped_methods.R

print.pedR Documentation

Printing pedigrees

Description

Print a ped object using original labels.

Usage

## S3 method for class 'ped'
print(x, ..., markers, verbose = TRUE)

Arguments

x

object of class ped.

...

(optional) arguments passed on to print.data.frame().

markers

(optional) vector of marker indices. If missing, and x has less than 10 markers, they are all displayed. If x has 10 or more markers, the first 5 are displayed.

verbose

If TRUE, a message is printed if only the first 5 markers are printed. (See above).

Details

This first calls as.data.frame.ped() and then prints the resulting data.frame. The data.frame is returned invisibly.


pedtools documentation built on Nov. 5, 2023, 5:06 p.m.