Skip to contents

A PEPI object holding the tables required to build the data list for inst/multirates_positive_s.stan is created. See check_input_multirates() for the required table schema.

Usage

init_multirates(tables, m_trunk = 0L)

Arguments

tables

Named list of tibbles: population_sizes, wt_ccf (required), and any subset of driver_muts/driver_ccf, driver_n_muts/driver_n_ccf, driver_p_muts/driver_p_ccf, dc_muts/dc_ccf, clades_wt/clades_wt_ccf (optional).

m_trunk

Number of truncal mutations.

Value

PEPI object of class "PEPI_Multirates"

Examples

source(system.file("examples", "tables_example.R", package = "PEPI"))