peaklist_browser_prep: Prepare peaklist for interactive browser

Description Usage Arguments Value

View source: R/peaklist_browser.R

Description

This function adds some html that is needed for the interactive browser. It adds a plus button to open the first nesting (collapse_col) and a View button to view the second nesting (modal_col).

Usage

1
2
peaklist_browser_prep(peaklist, collapse_col = "features",
  modal_col = "anno")

Arguments

peaklist

A tibble peaklist with nested columns for pcgroup and the feauture annotations

collapse_col

A string. The first nesting for pcgroups.

modal_col

A string. The second nesting for feature annotations.

Value

A tibble containing the same columns as the input table but with extra hmtl.


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