Learn R Programming

QuantumClone (version 1.0.0.6)

longueur: Length

Description

Computes the length from the clone on the n-th row of the matrix, to the most ancestral clone

Usage

longueur(matrix, n)

Arguments

matrix

The interaction matrix of the tree (1 on the i-th row j-th column means "clone j is the progeny of clone i")

n

Index of the clone in the matrix