rnalysis.filtering.FoldChangeFilter.transform

FoldChangeFilter.transform(function: Union[Literal['Box-Cox', 'log2', 'log10', 'ln', 'Standardize'], Callable], inplace: bool = True, **function_kwargs)

Transform the values in the Filter object with the specified function.

Parameters
  • function (Callable or str ('logx' for base-x log of the data + 1, 'box-cox' for Box-Cox transform of the data + 1, 'standardize' for standardization)) – The function or function name to be applied.

  • inplace (bool (default=True)) – If True (default), filtering will be applied to the current Filter object. If False, the function will return a new Filter instance and the current instance will not be affected.

  • function_kwargs – Any additional keyworded arguments taken by the supplied function.

Returns

If ‘inplace’ is False, returns a new instance of the Filter object.