#' Read locus-specific data
#'
#' @param folder Path to the folder
#' @param variable What to read
#'
#' @export
read_loci <- function(folder, variable) {
t <- read_time(folder)
data <- read_data(folder, variable)
nloci <- length(data) / length(t)
timepoints <- rep(t, each = nloci)
split(data, timepoints)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.