prepare_generator_edge_set_command {CIMICE} | R Documentation

## Prepare a command to add edge weights to a generator

### Description

Prints a string in the form of the command that sets weights for all the edges of this generator.

### Usage

    prepare_generator_edge_set_command(generator, by = "labels")

### Arguments

`generator` | a generator
`by` | "labels" or "samples" to use gene labels or sample labels as references for edge identifiers.

### Value

NULL (the string with the function calls is printed on the stdout)

### Examples

    require(dplyr)
    example_dataset() %>%
      make_generator_stub() %>%
      prepare_generator_edge_set_command()

[Package CIMICE version 1.2.1 Index]