• Stars
    star
    173
  • Rank 220,124 (Top 5 %)
  • Language
    R
  • License
    Other
  • Created over 3 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Exploratory Web Apps for Analyzing Clinical Trial Data

teal: Interactive Exploratory Data Analysis with Shiny Web-Applications

Check 🛠 Docs 📚 Code Coverage 📔

GitHub forks GitHub repo stars

GitHub commit activity GitHub contributors GitHub last commit GitHub pull requests GitHub repo size GitHub language count Project Status: Active – The project has reached a stable, usable state and is being actively developed. Current Version Open Issues

teal is a shiny-based interactive exploration framework for analyzing data. teal applications require app developers to specify:

  • Data, which can be:
    • CDISC data, commonly used for clinical trial reporting
    • Independent datasets, for example from a data.frame
    • Related datasets, for example a set of data.frames with key columns to enable data joins
    • MultiAssayExperiment objects which are R data structures for representing and analyzing multi-omics experiments
  • teal modules:
    • teal modules are shiny modules built within the teal framework that specify analysis to be performed. For example, it can be a module for exploring outliers in the data, or a module for visualizing the data in line plots. Although these can be created from scratch, lost of teal modules have been released and we recommend starting with modules found in the following packages:

A lot of the functionality of the teal framework derives from the following packages:

  • teal.data: creating and loading the data needed for teal applications.
  • teal.widgets: shiny components used within teal.
  • teal.slice: provides a filtering panel to allow filtering of data.
  • teal.code: handles reproducibility of outputs.
  • teal.transform: standardizes extracting and merging data.
  • teal.logger: standardizes logging within teal framework.
  • teal.reporter: allows teal applications to generate reports.

Installation

install.packages("teal", repos = c("https://insightsengineering.r-universe.dev", getOption("repos")))

# install.packages("pak")
pak::pak("insightsengineering/teal@*release")

Alternatively, you might also use the development version.

install.packages("teal", repos = c("https://pharmaverse.r-universe.dev", getOption("repos")))

# install.packages("pak")
pak::pak("insightsengineering/teal")

Usage

library(teal)

app <- init(
  data = teal_data(
    dataset("iris", iris)
  ),
  modules = list(
    module(
      "iris histogram",
      server = function(input, output, session, data) {
        output$hist <- renderPlot(
          hist(data[["iris"]]()[[input$var]])
        )
      },
      ui = function(id, data, ...) {
        ns <- NS(id)
        list(
          shiny::selectInput(
            ns("var"),
            "Column name",
            names(data[["iris"]]())[1:4]
          ),
          plotOutput(ns("hist"))
        )
      }
    )
  )
)

shinyApp(app$ui, app$server)

App recording

Please see teal gallery and TLG Catalog to see examples of teal apps.

Please start with the "Getting Started" article and then other package vignettes for more detailed guide.

Getting help

If you encounter a bug or you have a feature request - please file an issue. For questions, discussions and staying up to date, please use the "teal" channel in the pharmaverse slack workspace.

Acknowledgment

This package is a result of a joint efforts by many developers and stakeholders. We would like to thank everyone who contributed so far!

Stargazers and Forkers

Stargazers over time

Stargazers over time

Stargazers

Stargazers repo roster for @insightsengineering/teal

Forkers

Forkers repo roster for @insightsengineering/teal

More Repositories

1

rtables

Reporting tables with R
R
224
star
2

tern

Table, Listings, and Graphs (TLG) library for common outputs used in clinical trials
R
76
star
3

thevalidatoR

Github Action that generates R Package Validation documentation 🏁
R
57
star
4

teal.modules.clinical

Provides teal modules for the standard clinical trials outputs
R
32
star
5

random.cdisc.data

Create random CDISC data
R
30
star
6

teal.gallery

A Gallery of Exploratory Web Apps used for Analyzing Clinical Trial Data
R
29
star
7

rlistings

Value formatting and ASCII rendering infrastructure for tables and listings.
R
24
star
8

r.pkg.template

An opinionated R package template with CI/CD built-in
Shell
21
star
9

tlg-catalog

A catalog of Tables, Listings and Graphs (TLGs) created with NEST R packages
JavaScript
19
star
10

rbmi

Reference based multiple imputation R package
R
15
star
11

formatters

A framework for creating listings of raw data that include specialized formatting, headers, footers, referential footnotes, and pagination.
R
15
star
12

sasr

sasr
R
14
star
13

cards

CDISC Analysis Results Data
R
12
star
14

scda

Access Synthetic CDISC Data from Archive Packages
R
12
star
15

JointSurvivalModels.jl

Julia implementation of joint models combining longitudinal and survival endpoints
Julia
12
star
16

cardx

R Package to Supplement ARD Functions Found in {cards}
R
12
star
17

teal.code

Code storage and execution class for teal applications
R
11
star
18

teal.slice

Reproducible slice module for teal applications
R
11
star
19

hermes

Preprocessing, analyzing, and reporting of RNA-seq data
R
10
star
20

ci-images

Insights Engineering Container Images
R
10
star
21

simIDM

Simulation Engine for Multistate Models
R
10
star
22

teal.modules.general

General Purpose Teal Modules
R
9
star
23

scda.2022

An archive of synthetic CDISC data for 2022
R
9
star
24

teal.reporter

Create and preview reports with Shiny modules
R
8
star
25

tern.gee

Create TLGs using Generalized Estimating Equations (GEE)
R
8
star
26

hex-stickers

hex sticker archive
R
8
star
27

teal.data

Data model for teal applications
R
8
star
28

teal.modules.hermes

RNA-seq analysis modules to add to a teal application
R
7
star
29

coverage-action

Github Action that generates a coverage summary using a Cobertura XML report
6
star
30

tern.mmrm

Create MMRM TLGs using lme4 and tern
R
6
star
31

ggplot2.utils

Utilities, in particular geoms and stats, for use with ggplot2
R
6
star
32

biomarker-catalog

Biomarker Analysis Templates of Tables And Graphs 📊
SCSS
5
star
33

teal.osprey

Community efforts to collect teal modules for TLGs defined in the osprey package
R
5
star
34

nestcolor

Package managing visual conventions of NEST graphs
R
5
star
35

goshawk

Functions that plot and summarize biomarkers/labs of interest
R
5
star
36

r-spellcheck-action

Github Action that performs a spell check on an R package
R
4
star
37

teal.logger

Logging setup for the teal family of packages
R
4
star
38

uniCATE

Univariate conditional average treatment effect estimation for predictive biomarker discovery
R
4
star
39

teal.widgets

shiny widgets for teal applications
R
4
star
40

presidio-cli

CLI tool that analyze Text for PII Entities with Microsoft Presidio framework.
Python
4
star
41

osprey

Community effort to collect TLG code and create a catalogue
R
4
star
42

depository

A depository for previously released R packages stemming from this organization.
HTML
3
star
43

staged-dependencies-action

Github Action to implement R development stages for package development
R
3
star
44

scda.2021

An archive of synthetic CDISC data for 2021
R
3
star
45

bioc-check-action

Github Action that runs Bioconductor-specific R package checks with BiocCheck.
R
3
star
46

teal.goshawk

Modules that produce web interfaces through which longitudinal visualizations can be dynamically
R
3
star
47

tern.rbmi

Create TLGs using rbmi and tern
R
3
star
48

unihtee

Tools for uncovering treatment effect modifiers in high-dimensional data.
R
3
star
49

teal.transform

Reproducible transform and merge module for teal applications
R
3
star
50

r-verdepcheck-action

Github Action to check if R package works correctly with minimum version of dependencies installed
R
3
star
51

bsafe

TBD
R
2
star
52

r-license-report

Github Action to generate an R Package Dependencies' License Report
R
2
star
53

nesttemplate

pkgdown template for NEST packages
JavaScript
2
star
54

scda.test

Package that runs tests for tern and scda
R
2
star
55

presidio-action

Github Action that analyze Text for PII Entities with Microsoft Presidio framework.
2
star
56

framework-scientific-apps

AMIA 2021 - Case study in the development of a framework for quality and reproducibility in inner-sourced packages and self-service analytic dashboards
TeX
2
star
57

codecollaboration

HTML
1
star
58

bonsaiforest

R
1
star
59

nest-2023-summeR

JavaScript
1
star
60

verdepcheck

An R package that tests your R package against the min/max versions of specified dependencies
R
1
star
61

teal.modules.bsafe

Teal modules for bsafe
R
1
star
62

covtracer-action

Github Action based on the Covtracer R package
R
1
star
63

r-pkgdown-multiversion

Github Action to generate multiple versions of pkgdown docs for R packages
R
1
star