Graphic position

Description

Computes the position of a node on the graph, based on the interaction matrix.

Usage

1

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 of interest in the matrix

d

Initial number of clones

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.