Learn R Programming

relSim (version 1.0.0)

print.profile: Print a DNA profile

Description

Nicely prints a profile object out in genotype pairs

Usage

# S3 method for profile
print(x, horizontal = FALSE, ...)

Arguments

x

The profile object to be printed

horizontal

if TRUE then the profile will print on a single line instead of multiple lines. Useful for comparing two profiles

...

Ignored - really should be passed to print, but given cat is actually called they are ignored

Author

James M. Curran

Examples

Run this code

data(fbiCaucs)
P1 = randomProfile(fbiCaucs)
P2 = randomProfile(fbiCaucs)
P1
print(P1, horizontal = TRUE)
print(P2, horizontal = TRUE)

Run the code above in your browser using DataLab