create_sample_csv | R Documentation |
In this function the sample file for VirusTreeSimulator program will contain all individuals in the transmision matrix
create_sample_csv(tm, time_seq, seq_count, prefix = NULL)
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. |
If a prefix is not provided, csv file will be saved as sample.csv
Write data to csv file.
To Do
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.