getNestLevel: Given the a list representing the parents of each clone, and...

View source: R/object.R

getNestLevelR Documentation

Given the a list representing the parents of each clone, and the number specifying which clone to test, returns how deeply it is nested

Description

Given the a list representing the parents of each clone, and the number specifying which clone to test, returns how deeply it is nested

Usage

getNestLevel(parents, x)

Arguments

parents

An integer vector specifying parental relationships between clones

x

The integer specifying which subclone to calculate nest level for

Value

An integer representing how deeply this subclone is nested

See Also

getAllNestLevels


chrisamiller/fishplot documentation built on Sept. 15, 2023, 1:53 p.m.