read.ygraphml: Reads trajectory graph layout

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/import-methods.R

Description

Reads ygraphml file containing the trajectory graph's layout

Usage

1

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

1
2
3
4
5
6
7
8
# Example data
data(exSCE)

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

## End(Not run)

CellTrails documentation built on Nov. 8, 2020, 5:53 p.m.