replace_terms: Merges synonymous terms

View source: R/functions.R

replace_termsR Documentation

Merges synonymous terms

Description

Replace synonyms with standard terms in a pathway created by clean_path()

Usage

replace_terms(path, terms, synonyms)

Arguments

path

a character vector describing relationships between concepts

terms

a character vector listing replacement terms

synonyms

a character vector listing synonyms to be replaced

Value

a character vector the same length as the input path with synonyms replaced


elizagrames/redyarn documentation built on June 16, 2022, 2:54 p.m.