• Stars
    star
    159
  • Rank 229,007 (Top 5 %)
  • Language
    R
  • License
    Other
  • Created almost 3 years ago
  • Updated about 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
201
star
2

tern

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

thevalidatoR

Github Action that generates R Package Validation documentation ๐Ÿ
R
51
star
4

teal.modules.clinical

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

random.cdisc.data

Create random CDISC data
R
26
star
6

r.pkg.template

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

teal.gallery

A Gallery of Exploratory Web Apps used for Analyzing Clinical Trial Data
R
21
star
8

rlistings

Value formatting and ASCII rendering infrastructure for tables and listings.
R
16
star
9

tlg-catalog

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

rbmi

Reference based multiple imputation R package
R
13
star
11

sasr

sasr
R
13
star
12

formatters

A framework for creating listings of raw data that include specialized formatting, headers, footers, referential footnotes, and pagination.
R
13
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

hermes

Preprocessing, analyzing, and reporting of RNA-seq data
R
11
star
17

teal.slice

Reproducible slice module for teal applications
R
11
star
18

ci-images

Insights Engineering Container Images
R
10
star
19

simIDM

Simulation Engine for Multistate Models
R
10
star
20

teal.modules.general

General Purpose Teal Modules
R
9
star
21

teal.code

Code storage and execution class for teal applications
R
9
star
22

tern.gee

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

scda.2022

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

hex-stickers

hex sticker archive
R
8
star
25

teal.modules.hermes

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

teal.reporter

Create and preview reports with Shiny modules
R
7
star
27

teal.data

Data model for teal applications
R
7
star
28

tern.mmrm

Create MMRM TLGs using lme4 and tern
R
6
star
29

coverage-action

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

biomarker-catalog

Biomarker Analysis Templates of Tables And Graphs ๐Ÿ“Š
SCSS
5
star
31

ggplot2.utils

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

teal.osprey

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

nestcolor

Package managing visual conventions of NEST graphs
R
5
star
34

goshawk

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

r-spellcheck-action

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

teal.logger

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

uniCATE

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

presidio-cli

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

osprey

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

scda.2021

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

depository

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

staged-dependencies-action

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

teal.widgets

shiny widgets for teal applications
R
3
star
44

bioc-check-action

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

teal.goshawk

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

tern.rbmi

Create TLGs using rbmi and tern
R
3
star
47

unihtee

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

teal.transform

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

r-license-report

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

nesttemplate

pkgdown template for NEST packages
JavaScript
2
star
51

presidio-action

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

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
53

bsafe

TBD
R
1
star
54

codecollaboration

HTML
1
star
55

teal.modules.bsafe

Teal modules for bsafe
R
1
star
56

covtracer-action

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

verdepcheck

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

r-verdepcheck-action

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

r-pkgdown-multiversion

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