ReturnOut: Wrapper for return of Impute()

Description Usage Arguments Value

View source: R/Helper.R

Description

ReturnOut Adjusts the output of Impute to a list of matrices or a SingleCellExperiment object. Helper function to ADImpute.

Usage

1
ReturnOut(result, sce)

Arguments

result

list; imputation result

sce

SingleCellExperiment; a SingleCellExperiment object if available; NULL otherwise

Value

imputation results. A SingleCellExperiment if !is.null(sce), or a list with imputed results in matrix format otherwise.


ADImpute documentation built on Nov. 8, 2020, 5:30 p.m.