addMonocleTrajectory: Add a Monocle Trajectory to an ArchR Project #NEW

addMonocleTrajectoryR Documentation

Add a Monocle Trajectory to an ArchR Project #NEW

Description

This function will add a trajectory from a monocle CDS created from getMonocleTrajectories to an ArchRProject.

Usage

addMonocleTrajectory(
  ArchRProj = NULL,
  name = "Trajectory",
  useGroups = NULL,
  groupBy = "Clusters",
  monocleCDS = NULL,
  force = FALSE
)

Arguments

ArchRProj

An ArchRProject object.

name

A string indicating the name of the fitted trajectory to be added in cellColData.

useGroups

The cell groups to be used for creating trajectory analysis.

groupBy

A string indicating the column name from cellColData that contains the cell group definitions used in useGroups to constrain trajectory analysis.

monocleCDS

A monocle CDS object created from getMonocleTrajectories.

force

A boolean value indicating whether to force the trajactory indicated by name to be overwritten if it already exists in the given ArchRProject.


haibol2016/ArchR_debug documentation built on June 15, 2022, 5:42 p.m.