sanitise_inputs: Sanitise inputs

Description Usage Arguments Value

View source: R/switchde.R

Description

Sanitise inputs

Usage

1
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.


switchde documentation built on Nov. 8, 2020, 5:19 p.m.