make_idline: Make a Tibble with the Vertex ID of the Longest Path

Description Usage Arguments Details

Description

This function takes a branch 'igraph' as object and a starting 'vertex' as object, finds the longest path that starts from that vertex.

Usage

1
make_idline(branch, vert_rank)

Arguments

branch

an 'igraph' object storing data for a panicle branch.

vert_rank

a number indicating the 'rank' attribute that identifies the staring vertex.

Details

The longest path is assumend to be the main branch axis

This function returns a character vector that stores 'type' of the vertexes (Secondary, Spikelet, etc.) along that axis ordered from the starting vertex (supplied in 'vert_rank') going outward.


othomantegazza/ptrapr documentation built on May 4, 2019, 4:16 a.m.