Learn R Programming

textAnnotatoR (version 1.0.1)

find_annotation_clusters: Find clusters of annotations in text

Description

Identifies clusters of annotations that are close together in the text, helping to identify dense coding regions.

Usage

find_annotation_clusters(annotations)

Value

List of annotation clusters, where each cluster contains annotations that are within a specified distance of each other

Arguments

annotations

Data frame containing sorted text annotations with columns:

  • start: numeric, starting position of annotation

  • end: numeric, ending position of annotation

  • code: character, code applied to the annotation