buildPathway

Build a Pathway object.

This function creates a new object of type Pathway given a data frame describing its edges.

Usage
buildPathway(id, title, edges, species, database, identifier, timestamp=NULL)
Arguments
id
the pathway identifier.
title
the title of the pathway.
edges
a data.frame of pathway edges.

Must have the following columns: src, dest, direction and type.

Direction must be one of the two strings: "directed" or "undirected".

species
the species the pathway belongs to.
database
the name of the database the pathway derives from.
identifier
the type of identifier used to label the pathway nodes.
timestamp
when the pathway was annotated, by default the time buildPathway is called.
See Also

Pathway-class

Aliases
  • buildPathway
Examples
edges <- data.frame(src="672", dest="7157", direction="undirected", type="binding")
pathway <- buildPathway("#1", "example", edges, "hsapiens", "database", "ENTREZID")
Documentation reproduced from package graph, version 1.50.0, License: Artistic-2.0

Community examples

Looks like there are no examples yet.