dot-allTuplesSortedCpp: An internal helper function to check that each tuple is...

Description Usage Arguments Details Value

Description

An internal helper function to check that each tuple is sorted in increasing order; only used for tuples of size > 2.

Usage

1
.allTuplesSortedCpp(pos1, internal_pos, posm)

Arguments

pos1

An integer vector.

internal_pos

An integer matrix.

posm

An integer vector.

Details

.allTuplesSorted is adapted from http://stackoverflow.com/a/7601857. Strict inequalities are required.

Value

TRUE if each tuple is sorted in strictly increasing order, FALSE otherwise.


GenomicTuples documentation built on Nov. 8, 2020, 6:43 p.m.