normalize-0.3.0.1: Normalize data using a variety of methods.

Safe HaskellNone
LanguageHaskell2010

Normalize

Synopsis

Documentation

logTransform :: Base -> Map Sample (Vector Entity) -> Map Sample (Vector Entity) Source #

Log transform the normalize map.

normalize :: Method -> Map Sample (Vector Entity) -> Map Sample (Vector Entity) Source #

Normalize all samples by a specific method.

normalizeBySample :: SynonymFlag -> Maybe EntitySep -> NormSampleString -> Map Sample (Vector Entity) -> Map Sample (Vector Entity) Source #

Normalize a sample (1) by another sample (2) by division. The NormSampleString contains the string that differentiates (1) from (2). NormSampleString must be within (2) and must make, upon its removal from (2), (1). For instance, if we want to normalize "normalizeMe" by "normalizeMeByThis", we would set this string to be ByThis so the normalized values from "normalizeMe" are divided by the normalized values from "normalizeMeByThis". This string must make the latter become the former, so By would not work as it would become "normalizeMeThis".