create_sample_csv2: Get sample csv file

View source: R/utils.R

create_sample_csv2R Documentation

Get sample csv file

Description

In this function, the sample file for VirusTreeSimulator program will contain only the sampled individuals (to mimic a real HIV study)

Usage

create_sample_csv2(ids, time_seq, seq_count, prefix = NULL)

Arguments

ids

Vector of samples IDs.

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.


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