collapse_rows: Collapse a list of PubMed Central tables

Description Usage Arguments Value Author(s) Examples

View source: R/collapse_rows.R

Description

Collapse rows into a semi-colon delimited list with column names and cell values

Usage

1
collapse_rows(pmc, na.string)

Arguments

pmc

a list of tables, usually from pmc_table

na.string

additional cell values to skip, default is NA and ""

Value

A tibble with table and row number and collapsed text

Author(s)

Chris Stubben

Examples

1
2
3
4
5
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))

tidypmc documentation built on Aug. 1, 2019, 5:05 p.m.