This function does the actual calculations for summarize_stats_CSV
.
It calculates mean and quantiles, writing output to the appropriate folder.
base_MQ(
fList,
oDir,
sName,
nodeNames,
nNodes,
genos,
nGenos,
times,
nTimes,
num_repss,
mean,
quantiles,
oDepth
)
None
File list, all files for this stage, organized by repetition
Output directory
Stage signifier
Properly formatted vector of node names for printing
Number of nodes in the simulation
Vector of genotypes for the header
Number of genotypes
Vector of sampling times
Number of sampled times
Number of repetitions from the simulation
Boolean, calculate mean or not
Vector of quantiles to calculate, or NULL
Max(1, number of quantiles)