buildPathway: Build a Pathway object.

Description Usage Arguments See Also Examples

Description

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

Usage

1
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

Examples

1
2
edges <- data.frame(src="672", dest="7157", direction="undirected", type="binding")
pathway <- buildPathway("#1", "example", edges, "hsapiens", "database", "ENTREZID")


Search within the graphite package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.