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.


beyergroup/ADImpute documentation built on Dec. 19, 2021, 8:48 a.m.