addStatsFromCSV {fishpond} | R Documentation

## Read statistics and nulls from CSV file

### 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

    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

[Package fishpond version 1.6.0 Index]