fix_pair_order: Fix the pair order of a genome pair table

fix_pair_orderR Documentation

Fix the pair order of a genome pair table

Description

For each row in a genome pair table (table with at least the columns genome_1 and genome_2), this function assesses whether genome_1 < genome_2. If not, it swaps the values for genome_1 and genome_2, as well as for other variables whose names end in "_1" and "_2".

Usage

fix_pair_order(pairs)

Arguments

pairs

A table with at least the variables genome_1 and genome_2

Value

A tibble


SWittouck/tidyorthogroups documentation built on June 1, 2024, 10:49 p.m.