drop_best_match: Drop best match columns from tomtom results

View source: R/match_utils.R

drop_best_matchR Documentation

Drop best match columns from tomtom results

Description

Convenience function for dropping all columns created by runTomTom prefixed by "best_match_" and the "best_db_name" column. Keeps the "tomtom" data.frame column. Can be useful if you want to unnest the 'tomtom' data without propagating these columns.

Usage

drop_best_match(res)

Arguments

res

results of runTomTom

Value

'res' without the tomtom best_match_ columns

Examples

data("example_dreme_tomtom")
names(example_dreme_tomtom)
names(drop_best_match(example_dreme_tomtom))

snystrom/dremeR documentation built on May 1, 2024, 7:14 a.m.