flatten_edges: Deals with grouped nodes of a network

View source: R/flatten_edges.R

flatten_edgesR Documentation

Deals with grouped nodes of a network

Description

The line : from mean_ATGSJHKS-ATGODLKSL to ATGDHJKHK becomes : from ATGSJHKS to ATGDHJKHK from ATGODLKSL to ATGDHJKHK

Usage

flatten_edges(net)

Arguments

net

network containing grouped regulators, in the form of a dataframe of edges. It must contain a column named 'from' and a column names 'to'n with the AGI of the genes. The grouped nodes must have the format mean_AGI1-AGI2, such as returned by the inference in DIANE

Value

dataframe of edges with duplicated edges for grouped regulators

Examples

data("abiotic_stress_Heat_genes_net")
flatten_edges(abiotic_stress_Heat_genes_net)


OceaneCsn/AraNetBench documentation built on May 22, 2022, 12:43 p.m.