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.

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