data/folder contains raw Excel files of dengue positive and dengue negative samples, sent by IPNTsampler.Rcontains R code to (1) ingest Excel data, (2) do stratified proportional sampling of both positive and negative samples, as per certain criteria, and (3) export final sample list as CSV files with UTF-8 Byte order mark to read in Excelutils.Rcontains helper, or utility, functions to read Excel file and concatenate all sheets together, and do some simple data cleaningneg_pooler.Rcontains R code to simply pool negative samples together into specified named batches
- Acquire the necessary data
- Modify the
df_cleaner()function inutils.Rto match with your data - Modify the
sampler.Rscript to match your stratified sampling criteria and run the script - (Optional) Modify and run
neg_pooler.Rif you want to pool your negative samples together into batches
The R environment is managed by rv