create_new_project: Initialize new project

View source: R/project.R View source: R/annotate_gui.R

create_new_projectR Documentation

Initialize new project

Description

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

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

Usage

create_new_project(rv, session)

create_new_project(rv, session)

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

Value

Invisible NULL, called for side effect

Invisible NULL, called for side effect


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