analyze_coverage: Analyze coverage patterns in annotations

View source: R/annotate_gui.R

analyze_coverageR Documentation

Analyze coverage patterns in annotations

Description

Analyzes how codes are distributed throughout the text, including clustering patterns and coding density.

Usage

analyze_coverage(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

List containing:

  • clusters: List of annotation clusters

  • density: List containing overall density metrics

  • distribution: List containing code frequencies and positions


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