calcMemUse: Function calcMemUse
in Package flowType
Description
Estimates the memory usage in bytes for running flowType with a given set of parameters.Usage
calcMemUse(NumPops, NumPropMarkers, NumMFIMarkers, NumCells, MaxMarkersPerPop, PartitionsPerChannel = 2)
Arguments
NumPops
Number of cell types which will be returned. Can be computed using calcNumPops
NumPropMarkers
Numer of markers to use for combinatorial gating
NumMFIMarkers
Number of markers to determine the MFIs of for every cell type
NumCells
Number of cells in the flowFrame passed to flowType
MaxMarkersPerPop
Maximum number of markers to use at once in combinatorial gating (ie all cell types over 1:MaxMarkersPerPop will be counted)
PartitionsPerChannel
Number of partitions per channel.
Value
- Estimated memory use in bytes.
Details
If you use different numbers of partitions for different channels, try providing the highest number as PartitionsPerChannel
, and expect an over-estimate.