addStatsFromCSV: Read statistics and nulls from CSV file

Description Usage Arguments Value

View source: R/helper.R

Description

After running splitSwish and the associated Snakefile, this function can be used to gather and add the results to the original object. See the alevin section of the vignette for an example.

Usage

1
addStatsFromCSV(y = NULL, infile, estPi0 = FALSE)

Arguments

y

a SummarizedExperiment (if NULL, function will output a data.frame)

infile

character, path to the summary.csv file

estPi0

logical, see swish

Value

the SummarizedExperiment with metadata columns added, or if y is NULL, a data.frame of compiled results


fishpond documentation built on Nov. 8, 2020, 7:54 p.m.