NormalizeByFactor

From ZENBU documentation wiki
Jump to: navigation, search

Data Stream Processing > Processing Modules > Data normalization and rescaling Modules

Description

The NormalizeByFactor processing module is designed to apply an Experiment specific normalization factor onto specified Expression data of streamed Features. It requires the Experiment specific normalization factor to be stored in metadata of the Experiment, and the specification of the input DataType and new datatype name.
The equation is simply

 new_value = old_value * factor 

Parameters

  • <experiment_metadata_tag> : the metadata tag attached to the experiments which contains the normalization factor. This can be added to Experiments by using the Metadata editing interface or at data load time.
  • <datatype> : the datatype of expression on the data stream which will be normalized. only one input <datatype> allowed.
  • <output_datatype> : the datatype which the expression will be relabeled as

Example

This script show a simple situation where RLE normalization factor is applied to "tagcount" expression data and relabeled as "rle".

<zenbu_script>
   <stream_processing>
	<spstream module="NormalizeByFactor">
		<experiment_metadata_tag>RLE_normalization_factor</experiment_metadata_tag>
		<datatype>tagcount</datatype>
		<output_datatype>rle</output_datatype>
	</spstream>
   </stream_processing>
</zenbu_script>