format_text: format special text

View source: R/read_functions.R

format_textR Documentation

format special text

Description

processes special formatting in xvg files, converting super/subscripts to ggplot2-compatible expressions. Specifically handles:

  • Superscripts: Converts \S...\N to ^ notation

  • Subscripts: Converts \s...\N to [] notation

Usage

format_text(text)

Arguments

text

character string containing xvg-formatted text

Value

formatted character string with ggplot2-compatible expressions


xvm documentation built on June 8, 2025, 10:37 a.m.