Learn R Programming

textAnnotatoR (version 1.0.1)

process_comparison_file: Process comparison file

Description

Processes uploaded comparison files, handling different file formats (CSV, JSON) and ensuring proper data structure and types for comparison analysis.

Usage

process_comparison_file(filepath)

Value

Data frame containing processed annotations with columns:

  • start: numeric, starting position of annotation

  • end: numeric, ending position of annotation

  • code: character, code applied to the annotation

Arguments

filepath

Character string specifying the path to the comparison file