traverseMST: Reorder MST

View source: R/mstAlign.R

traverseMSTR Documentation

Reorder MST

Description

Reorder MST for traversal from a given node.

Usage

traverseMST(net, ref0)

Arguments

net

(matrix) array of tree-edges.

ref0

(character) start node for traversal.

Value

(matrix) array of tree-edges reordered for traversal.

Author(s)

Shubham Gupta, shubh.gupta@mail.utoronto.ca

ORCID: 0000-0003-3500-8152

License: (c) Author (2021) + GPL-3 Date: 2021-05-14

See Also

mstAlignRuns, getMST

Examples

net <- cbind("A" = c("run1","run2","run3"), "B" = c("run2","run3","run4"))
## Not run: 
traverseMST(net, "run2")

## End(Not run)

shubham1637/DIAlign documentation built on March 27, 2023, 7:12 a.m.