trajectory {phenopath} | R Documentation

## Get the latent PhenoPath trajectory

### Description

Get the latent PhenoPath trajectory

### Usage

    trajectory(phenopath_fit)

### Arguments

`phenopath_fit` | An object of class `phenopath_fit`

### Value

A vector of latent trajectory (pseudotime) values

### Examples

    sim <- simulate_phenopath()
    fit <- phenopath(sim$y, sim$x, elbo_tol = 1e-2)
    z <- trajectory(fit)

[Package phenopath version 1.10.0 Index]