Open Sidebar
Close Sidebar
mopdepth
main
Depth
BamIndexError
CLI
Config
ConfigError
Core
Cigar
Coverage
CoverageCalculator
CoverageResult
CoverageUtils
Options
Region
Target
CoverageCalculationError
Error
FileIO
OutputManager
BgzfLineBuffer
FileNotFoundError
InvalidRegionError
Runner
Stats
DepthStat
Distribution
IntHistogram
Quantize
class
Depth::
Stats::
IntHistogram
Depth::Stats::IntHistogram
Reference
Object
Overview
Histogram-based median for integers
Defined in:
depth/stats/int_histogram.cr
Constructors
.new
(size : Int32 =
65536
)
Instance Method Summary
#add
(value : Int32)
#clear
#counts
: Array(Int32)
#median
: Int32
#n
: Int32
Constructor Detail
def self.
new
(size : Int32 =
65536
)
#
[
View source
]
Instance Method Detail
def
add
(value : Int32)
#
[
View source
]
def
clear
#
[
View source
]
def
counts
: Array(Int32)
#
[
View source
]
def
median
: Int32
#
[
View source
]
def
n
: Int32
#
[
View source
]