calcNumPops {flowType} | R Documentation |
calcNumPops
in Package flowType
Compute the number of populations that will be produced by running flowType with a given set of parameters. This is especially useful for estimating memory but is also used internally to determine the size of return objects to pass down to C++. This may also be useful for determining the cutoff for number of markers to use to make phenotypes (in terms of statistical power for later testing).
calcNumPops(PartitionsPerMarker, MaxMarkersPerPop)
PartitionsPerMarker |
Integer vector specifying the number of partitions for each marker, in order. |
MaxMarkersPerPop |
Integer speciying the threshold chosen |
Integer specifying the number of populations the given paramters would produce.
Kieran O'Neill
calcNumPops(c(2,2,3,2,2,4), 5)