Sets and extracts the default trajectory id. Useful to save typing in functions that require a trajectory name as input.

getDefaultTrajectory(object, ...)

getDefaultTrajectoryId(object, ...)

setDefaultTrajectory(object, id, verbose = NULL)

setDefaultTrajectoryId(object, id, verbose = NULL)

Arguments

object

A valid spata-object.

id

Character value.

n_pcs

Numeric value. Denotes the number of principal components to be included.

Value

A data.frame that contains the unique identifiers (keys): barcodes, sample and:.

setDefaultTrajectory(): Updated spata object. getDefaultTrajectory(): Character value. Id of the default trajectory.