Skip to contents

Search for alias within PANGO lineages

Usage

search_pangoro(pangoro, input, search, direction = "both")

Arguments

pangoro

Pangoro S3 class object.

input

Lineage name (scalar).

search

Alias name to search if related to input list.

direction

Search parents (up) and/or children (down) of alias (default: both).

Examples

if (FALSE) {
my_pangoro <- pangoro()
search_pangoro(my_pangoro, 'BA.5', 'BA.5.1')
mapply(c('BA.5', 'BA.5'),c('BA.5.1', 'BL.1'), FUN = function(x,y) {search_pangoro(my_pangoro,x,y)})
}