clean_path: Standardizes pathways stored as text

View source: R/functions.R

clean_pathR Documentation

Standardizes pathways stored as text

Description

Given pathways stored as text, cleans and preps them to be converted to a network

Usage

clean_path(path, join = "+", cause = c(">", "="), sep = c(";"))

Arguments

path

a character vector describing relationships between concepts

join

a character vector that indicates two concepts are both affected similarly

cause

a character vector that indicates implied causal relationships

sep

a character vector that separates different pathways in the same text

Value

a character vector the same length as the input path with standardized format


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