Skip to contents

StudyBackground Module that contains background information and the EUPAS.

Value

invisible(self)

Super class

DarwinShinyModules::ShinyModule -> StudyBackground

Active bindings

background

(character(n)) Either the direct background, or the contents of a markdown (.md) file.

EUPAS

(character(1)) EUPAS belonging to the study.

text

(Text) A Text module.

Methods

Inherited methods


Method new()

initializer method

Usage

StudyBackground$new(background, EUPAS)

Arguments

background

(character(n)) Either a direct background description or a file path pointing to a markdown (.md) file.

EUPAS

(character(1)) EUPAS belonging to the study.


Method clone()

The objects of this class are cloneable with this method.

Usage

StudyBackground$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

library(DarwinShinyModules)

studyBackground <- StudyBackground$new(
  background = "./background.md",
  EUPAS = "EUPAS9999999"
)

if (interactive()) {
  preview(studyBackground)
}