View source: R/gather_listoftbl.R
gather_listoftbl | R Documentation |
Names and index of the list are saved to specified columns.
gather_listoftbl(list_in, key = "key", index = "index", cores = 1)
list_in |
A named list of tibbles or another dataframe-like type. Must all have matching columns. |
key |
Name for the tbl column that original list names will end up in. |
index |
Name for the tbl column that original list indices will end up in. |
cores |
Number of cores to use for parallel ops on the input list. Only beneficial in huge tables (1E7s of rows.) |
ions <- ions <- mzr %>% spectra() %>% setNames(., header(mzr)$retentionTime) %>% gather_listoftbl(., key = "rt", index = "scan")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.