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

View source: R/comparison-merge_reports.R

merge_reports2R Documentation

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

Description

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

Usage

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

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

fbreitwieser/pavian documentation built on Sept. 23, 2024, 11:03 p.m.