generate_code_frequency_plot: Generate code frequency visualization

View source: R/annotate_gui.R

generate_code_frequency_plotR Documentation

Generate code frequency visualization

Description

Creates a barplot visualization showing the frequency of each code in the annotations. The plot displays codes on the x-axis and their frequency counts on the y-axis.

Usage

generate_code_frequency_plot(annotations)

Arguments

annotations

Data frame containing text annotations with columns:

  • start: numeric, starting position of annotation

  • end: numeric, ending position of annotation

  • code: character, code applied to the annotation

Value

A recordedplot object containing the code frequency visualization


textAnnotatoR documentation built on April 3, 2025, 7:35 p.m.