knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  warning = FALSE
)
library(lineaGT)
# library(magrittr)

The fit function of the library requires two input datasets: one dataset with the coverage observation and one with the mutations variant allele number of reads and per-locus depth.

Coverage Dataframe

The first dataframe requires the following columns:

If lineage and timepoints columns are not present, a single longitunal observation and single lineage will be assumed.

A dataset example is the following:

data(cov.df.example)
cov.df.example

Mutations Dataframe

The second dataframe requires the following columns:

A dataframe example is the following:

data(vaf.df.example)
vaf.df.example


caravagnalab/LineaGT documentation built on June 13, 2025, 1:58 p.m.