Learn R Programming

textAnnotatoR (version 1.0.1)

create_new_project: Initialize new project

Description

Creates new project by resetting all reactive values to defaults and clearing UI elements.

Usage

create_new_project(rv, session)

Value

Invisible NULL, called for side effect

Arguments

rv

ReactiveValues object to reset containing:

  • text: Text content

  • annotations: Annotation data frame

  • codes: Vector of codes

  • code_tree: Hierarchy Node object

  • All other project state values

session

Shiny session object