create_DT: Create data table

View source: R/create_DT.R

create_DTR Documentation

Create data table

Description

Create an interactive data table with download buttons.

Usage

create_DT(data, caption = "", scrollY = 400)

Arguments

data

a data object (either a matrix or a data frame)

caption

the table caption; a character vector or a tag object generated from htmltools::tags$caption()

scrollY

Max height (in pixels) before wrapping the table in a vertical scroll bar.

Value

datatables object.

Examples

data("mtcars")
create_DT(mtcars)

NathanSkene/MAGMA_Celltyping documentation built on Aug. 21, 2023, 8:55 a.m.