extract_sets: Extract sets

View source: R/utils-dataset-converters.R

extract_setsR 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, "mat.rds"))
net <- readRDS(file.path(inputs_dir, "net.rds"))
net <- rename_net(net, source, target, mor)
extract_sets(net)

saezlab/decoupleR documentation built on Oct. 21, 2024, 8:47 a.m.