read_edges: Read edge-wise data

View source: R/read_edges.R

read_edgesR Documentation

Read edge-wise data

Description

Wrapper around read_speciome for variables with one value per edge per time point.

Usage

read_edges(root, variables, architecture = TRUE)

Arguments

root

Path to the simulation folder

variables

Vector of names of variable to read (will be interpreted using interpret_variable_names)

architecture

Whether to append edge-wise genetic architecture parameters (see ?read_architecture).

Details

The function will read "paramlog.txt" in order to know by how many loci to duplicate each time point.

Value

A tibble containing the simulation data

Note

The function will read "time.dat" as an extra variable, no need to supply it.

See Also

read_speciome

Examples


root <- system.file("extdata", "sim-example", package = "speciomer")
read_edges(root, "edge_corbreed")


rscherrer/speciomer documentation built on March 11, 2023, 5:37 p.m.