Learn R Programming

bio3d (version 2.3-4)

pairwise: Pair Indices

Description

A utility function to determine indices for pairwise comparisons.

Usage

pairwise(N)

Arguments

N

a single numeric value representing the total number of things to undergo pairwise comparison.

Value

Returns a two column numeric matrix giving the indices for all pairs.

References

Grant, B.J. et al. (2006) Bioinformatics 22, 2695--2696.

See Also

seqidentity

Examples

Run this code
# NOT RUN {
  pairwise(3)
  pairwise(20)
# }

Run the code above in your browser using DataLab