View source: R/collapse_rows.R
collapse_rows | R Documentation |
Collapse rows into a semi-colon delimited list with column names and cell values
collapse_rows(pmc, na.string)
pmc |
a list of tables, usually from |
na.string |
additional cell values to skip, default is NA and "" |
A tibble with table and row number and collapsed text
Chris Stubben
x <- data.frame(
genes = c("aroB", "glnP", "ndhA", "pyrF"),
fold_change = c(2.5, 1.7, -3.1, -2.6)
)
collapse_rows(list(`Table 1` = x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.