create_times_tsv: Get tsv for times

View source: R/utils.R

create_times_tsvR Documentation

Get tsv for times

Description

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

Usage

create_times_tsv(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, tab delimited file file will be saved as times.tsv

Value

Write data to tsv file.


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