Learn R Programming

textAnnotatoR (version 1.0.1)

plot_code_distribution: Plot code distribution visualization

Description

Creates a barplot visualization showing the distribution of codes in the annotations. The plot includes rotated labels for better readability and handles empty or NULL input data gracefully.

Usage

plot_code_distribution(distribution, main = "", ...)

Value

Invisible NULL, called for side effect of creating plot

Arguments

distribution

List containing code distribution information:

  • frequencies: Named numeric vector containing code frequencies

main

Character string specifying the plot title

...

Additional arguments passed to barplot()