process_input_text: Process text input

View source: R/process.R

process_input_textR Documentation

Process text input

Description

Removes duplicate genes. If multiple values for the same gene are found, only the first value will be kept.

Usage

process_input_text(text, capitalize = FALSE)

Arguments

text

character: input with genes and optionally values

capitalize

optional: boolean: force-capitalize all gene names

Value

tibble: "gene" gene names "value" gene values

Examples

input <- process_input_text("FCN1 FTL CLU")
input <- process_input_text("FCN1 0.1 FTL 0.8 CLU 0.05")

AhmedMehdiLab/E.PAGE documentation built on Aug. 21, 2022, 4:37 p.m.