View source: R/read_loci_by_edge.R
read_loci_by_edge | R Documentation |
Reads locus-specific data through time and rearranges the output tibble with one row per edge instead of one row per locus.
read_loci_by_edge(root, variables)
root |
Path to the simulation folder |
variables |
What variables to read |
Uses internally read_loci
with architecture = TRUE
,
then reads the network architecture (the edges
tibble returned by
read_architecture
) to reformat.
A tibble
Assumes that the genetic architecture file is present.
read_loci
, read_architecture
, get_locus_data_n
root <- system.file("extdata", "sim-example", package = "speciomer") read_loci_by_edge(root, "Fst")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.