merge_reports2: Merge report files into a wide format, with column(s) for...

Description Usage Arguments Value Examples

View source: R/comparison-merge_reports.R

Description

Merge report files into a wide format, with column(s) for each report.

Usage

1
2
3
merge_reports2(my_reports, col_names = NULL, fix_taxnames = TRUE,
  update_progress = FALSE, id_cols = c("name", "taxRank", "taxID",
  "taxLineage"), numeric_cols = c("cladeReads", "taxonReads"))

Arguments

my_reports

Report data.frames.

col_names

Column names.

fix_taxnames

Check if there are differences in the taxonomies of the reports.

update_progress

Update shiny progress

id_cols

Columns for taxdata

numeric_cols

Numeric data

Value

Combined data.frame

Examples

1
2
report_dir <- system.file("shinyapp", "example-data", "brain-biopsies", package="pavian")
reports <- read_reports(report_dir)

phac-nml/pavian documentation built on Aug. 20, 2019, 5:54 a.m.