convertEdges | R Documentation |
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
convertEdges(nodes, edges, metacols = FALSE, cleanup = TRUE)
nodes |
GRanges of signed nodes (ie $pnodes in gGraph object) |
edges |
data.table of signed edges (ie $pedges in gGraph object) |
Joe DeRose
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.