Pseudotime_inference based on integrated embeddings and clusters

pseudotime_inference(
  model,
  clusters,
  time_factor = 8,
  second_factor = 1,
  lineage = "Lineage1",
  start.clus = 1,
  end.clus = 2
)

Arguments

model

MOFA model from integration in multiassay@metadata$integration$MOFA

clusters

cluster generated from MOFA2::cluster_samples or other clustering method

time_factor

MOFA factor corresponding to time

second_factor

MOFA factor used as other axis of variation in the embedding

lineage

lineage

start.clus

Starting cluser

end.clus

Ending cluser

Value

A list object with model and plot slots