read.ygraphml {CellTrails} | R Documentation

## Reads trajectory graph layout

### Description

Reads ygraphml file containing the trajectory graph's layout

### Usage

    read.ygraphml(file)

### Arguments

`file` | A character string naming a file

### Details

To visualize the trajectory graph, a proper graph layout has to be computed. Ideally, edges should not cross and nodes should not overlap. CellTrails enables the export and import of the trajectory graph structure using the graphml file format. This file format can be interpreted by most third-party graph analysis applications, allowing the user to subject the trajectory graph to a wide range of layout algorithms. Please note that the graphml file needs to contain layout information ("<y:Geometry x=... y=... >" entries) as provided by the 'ygraphml' file definition used by the Graph Visualization Software 'yEd' (freely available from yWorks GmbH, http://www.yworks.com/products/yed).

### Value

An `data.frame` with coordinates of data points and visualization metadata

### Author(s)

Daniel C. Ellwanger

### See Also

`write.ygraphml`

### Examples

    # Example data
    data(exSCE)

    ## Not run:
    fn <- system.file("exdata", "exDat.graphml", package="CellTrails")
    tl <- read.ygraphml(fn)

    ## End(Not run)

[Package CellTrails version 1.0.1 Index]