create_sample_csv: Get sample csv file

View source: R/utils.R

create_sample_csvR Documentation

Get sample csv file

Description

In this function the sample file for VirusTreeSimulator program will contain all individuals in the transmision matrix

Usage

create_sample_csv(tm, time_seq, seq_count, prefix = NULL)

Arguments

tm

Transmission matrix as returned using the function get_transmat

time_seq

Vector for sample time. If one value is provided, it will be replicated to the size of samples in the transmission matrix (tm).

seq_count

The number of sequences per sample in the transmission matrix. If one value is provided, it will be replicated to the size of samples in the transmission matrix (tm).

prefix

Text for prefix to use when saving filename.

Details

If a prefix is not provided, csv file will be saved as sample.csv

Value

Write data to csv file.

Examples

To Do

thednainus/HIVepisimAnalysis documentation built on Sept. 21, 2023, 7:32 a.m.