Learn R Programming

XYomics (version 0.1.2)

call_sr: Internal function call_sr

Description

This function is internally used to solve the PCST.

Usage

call_sr(from, to, cost, node_names, node_prizes)

Arguments

from

A CharacterVector that corresponds to head nodes of the edges.

to

A CharacterVector that corresponds the tail nodes of the edges.

cost

A NumericVector which represents the edge weights.

node_names

A CharacterVector demonstrates the names of the nodes.

node_prizes

A NumericVector which corresponds to the node prizes.

Author

Murodzhon Akhmedov