R/plot-spc-extended.R
bind_lcols_dts.Rd
Bind one to many list-columns in spectral tibble into a list of data.tables.
bind_lcols_dts(spc_tbl, lcols, spc_id = "unique_id", group_id = "sample_id")
Spectral data in a tibble data frame (classes "tibble_df", "tbl" and "data.frame").
Character vector of column names of list-columns to be bound into a list of data.tables
Character vector denoting column name for a unique spectrum ID.
Default is "unique_id"
.
Character vector denoting column name for the spectrum group
ID. Default is "sample_id"
. The group ID can later be used for
plotting spectra by group (e.g. by using different colors or panels).
A list of data.tables. Elements contain data from list-columns
specified in lcols
argument as data.tables. All data.tables contain in
addition spc_id
and group_id
columns.