.IPDCpp {GenomicTuples} | R Documentation

## An internal function to compute the IPD of a GTuples; ; only used for tuples of size > 2.

### Description

An internal function to compute the IPD of a GTuples; ; only used for tuples of size > 2.

### Usage

    .IPDCpp(pos1, internal_pos, posm)

### Arguments

`pos1` | An integer vector.
`internal_pos` | An integer matrix.
`posm` | An integer vector.

### Value

An integer matrix with the same number of rows as internal_pos and number of columns equal to size - 1.

### Note

This function silently coerces numeric matrices to integer matrices and does integer subtraction. This will give unexpected results but it's not a problem for me since I only use it on integer matrices.

[Package GenomicTuples version 1.22.1 Index]