add_view_col: Function to add the View button

Description Usage Arguments Value Functions

Description

Internal function for the datatables View button that opens the modal

Usage

1
2
3
add_view_col(X, offset, modal_col)

shinyInput(FUN, len, id, offset, label, ...)

Arguments

X

The table to add buttons to.

offset

A numeric vector. Offset for the button id for each row.

modal_col

A string. The second nesting for feature annotations.

FUN

The shiny Input function to create.

len

Integer How many buttons to make.

id

String. Prefix for the id.

label

A character vector. The text to but on each button. Should have the same length as the number of rows in X.

...

Value

Callback stript.

Functions


stanstrup/PeakABro documentation built on May 29, 2019, 9:49 a.m.