sanitise_inputs {switchde}R Documentation

Sanitise inputs

Description

Sanitise inputs

Usage

sanitise_inputs(object, pseudotime, lower_threshold, zero_inflated, sce_assay)

Arguments

object

The object passed at the entry point (either a SCESet or gene expression matrix)

pseudotime

A pseudotime vector

lower_threshold

The minimum threshold below which to set expression to zero to avoid numerical issues. Default is 0.01

zero_inflated

Logical. Should zero inflation be implemented? Default FALSE

sce_assay

The assay from the SingleCellExperiment to be used as expression, defaulting to "exprs"

Value

A list with two entries: a gene expression matrix X and a pseudotime vector pst.


[Package switchde version 1.18.0 Index]