find_annotation_clusters {textAnnotatoR}R Documentation

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)

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

Value

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


[Package textAnnotatoR version 0.1.4 Index]