convertEdges: convertEdges

convertEdgesR Documentation

convertEdges

Description

Takes nodes and edges and converts the edge table for the nodes if they were strandless gEdge table will be the appropriate table for if we did: nodes[which(as.logical(strand(nodes)=="+"))] strand(nodes) = "*" pre: Nodes have snode.id and index column (indicates index) edges have sedge.id

Usage

convertEdges(nodes, edges, metacols = FALSE, cleanup = TRUE)

Arguments

nodes

GRanges of signed nodes (ie $pnodes in gGraph object)

edges

data.table of signed edges (ie $pedges in gGraph object)

Author(s)

Joe DeRose


mskilab/gGnome documentation built on May 8, 2024, 4:25 p.m.