Skip to contents

Determine if any of the input lineages expand back to a recombinant node.

Usage

is_recombinant(pangoro, input, use_names = FALSE)

Arguments

pangoro

Pangoro object.

input

Vector of lineage names to expand (character vector).

use_names

Boolean to determine if logical or character value of recombinant names used.

Value

Either boolean or character vector

Examples

if (FALSE) {
my_pangoro <- pangoRo::pangoro()
is_recombinant(my_pangoro, c('EG.1', 'EC.1'))
}