This ReadMe file was generated on 2024-06-02 by Marcos Amores
Absolute abundance calculator (v1.0)
Name: Chris Mays
Institution: School of Biological, Earth & Environmental Sciences, University College Cork
Address: Distillery Fields, North Mall, University College Cork, Ireland, T23 N73K
Email: cmays@ucc.ie
2024-06-02
Absolute abundance calculator © 2024 by Chris Mays, Marcos Amores, and Anthony Mays. Licensed under Creative Commons Attribution-ShareAlike 4.0 International
Please see the official guide on how to resolve this at the Microsoft Support website, link below.
The codes used to generate the simulation data in this paper have not been optimised, and have some components that are either not used or not fully implemented. However, in the interests of full transparency, we include the exact versions of the code that we used for our results below.
[Main] BigFossilSimsV3.m
[Dependent] MicrofossilSimV3.m
[Dependent] MicrofossilSim_iV3.m
[Dependent] FOVoptimiserV1.m
Specify the following variables in BigFossilSimsV3.m:
[Line 3] its: the number of independent Monte Carlo instances to generate for each set of parameters.
[Line 22] params: [Mx, Mn, tab]
Mx: the total number of targets on each virtual study area.
Mn: the total number of markers on each virtual study area.
tab: value of the dose error used in Eqns 2 and 5.
Note: Multiple rows of this variable can be specified to run multiple batches, via: [(first batch parameters); (second batch parameters); ...]
[Line 27] alpha: this is the field of view transition factor (ω). Default is ω=2.
[Line 33] work: the fixed value of work that the program tries to achieve for each method.
Linear method: Eqn 9 is used to choose the number of targets to count.
FOVS method: Eqns 14 and 15 are used to choose the optimal number of calibration and full count fields of view, via the code FOVoptimiserV1.m.
Ensure that there is a \SimData\ subdirectory for the program in which to store the data files.
The command line output will be saved in a file called BigFossilSimsV3_Opt_TX_itsY.txt, where
X is 10000 times the tablet error (to ensure an integer); and
Y is the value of its.
[Main] SimStatsChecker.m
[Dependent] MicrofossilSim_iCheck.m
Call the function SimStatsChecker(Mx,Mn,tlim,fn,its,fopt), where the arguments are:
Mx: The total number of targets on each virtual slide.
Mn: The total number of markers on each virtual slide.
tlim: (Linear method) the number of targets to count in the window.
fn: (FOVS method) the number of full count fields of view in which to count markers.
its: The number of independent Monte Carlo instances to generate.
fopt: Not used. Set to 1.
[Main] PrecWRTWorkV2.m [Dependent] WorkSimV2.m [Dependent] WorkSimV2_i.m
Specify the following variables in PrecWRTWorkV2.m
[Line 7] its: The number of independent Monte Carlo instances to generate for each set of parameters.
[Line 8] bigfx: The number of calibration counts for the "high calibration counts" sequence in Fig 8 (black plus).
[Line 9] medfx: The number of calibration counts for the "medium calibration counts" sequence in Fig 8 (blue stars).
[Line 10] smallfx: The number of calibration counts for the "low calibration counts" sequence in Fig 8 (red stars).
[Lines 19–24] params: [Mx, Mx, tlim, fnmax, omega]
Mx: The total number of targets on each virtual slide.
Mn: The total number of markers on each virtual slide.
tlim: (Linear method) the number of targets to count in the window.
fnmax: Not used. Set to 1.
omega: This is the field of view transition factor (ω).
Note: Multiple rows of this variable can be specified to run multiple batches, via: [(first batch parameters); (second batch parameters); ...]
The simulations currently assume that the marker dose (e.g., tablet of Lycopodium spores) error is zero, i.e.: (s_1P/√(N_1 ))^2=0. If you wish to increase this, then change the following variable:
[WorkSimV2_i.m, Line 33] tab: Value of the marker dose error used in Eqns 2 and 5.
Ensure that there is a \SimData\ subdirectory for the program to store the data files in.
The command line output will be saved in a file called WorkSimOpt_tab0_itsY.txt, where:
Y is the value of its tab0 records that the marker dose error is zero for the simulations. This is hard-coded and will not update if the value of tab is changed in WorkSimV2_i.m.