extract_sets {decoupleR} | R Documentation

## Extract sets

### Description

Extracts feature sets from a renamed network (see rename_net).

### Usage

    extract_sets(network)

### Arguments

`network` | Tibble or dataframe with edges and it's associated metadata.

### Examples

    inputs_dir <- system.file("testdata", "inputs", package = "decoupleR")
    mat <- readRDS(file.path(inputs_dir, "input-expr_matrix.rds"))
    network <- readRDS(file.path(inputs_dir, "input-dorothea_genesets.rds"))
    network <- rename_net(network, tf, target, mor, likelihood)
    extract_sets(network)

[Package decoupleR version 2.0.1 Index]