loadTipCells: Load Tip Cells

Description Usage Arguments Value Examples

View source: R/tree-tips.R

Description

This loads the cells that belong to each tip into the URD object. This information is required if weighted.fusion=T during buildTree so that new segment visitation can properly be determined using a weighted average, based on the number of cells that were in each tip.

Usage

1
loadTipCells(object, tips)

Arguments

object

An URD object

tips

(Character) A clustering that was used as the tips (i.e. a column name of @group.ids)

Value

An URD object with the cells that were used to start each tip stored in @tree$cells.in.tip

Examples

1
2
# Load the cells used for each tip into the URD object
axial.tree <- loadTipCells(axial, "tip.clusters")

farrellja/URD documentation built on June 17, 2020, 4:48 a.m.