BASCResult-class {Binarize} | R Documentation |

## Class "BASCResult"

### Description

A specialized class storing the results of a call to `binarize.BASC`

.

### Objects of this class

Objects of this class shouldn't be created directly. They are created implicitly by a call to `binarize.BASC`

.

### Slots

`p.value`

:The p-value of the statistical test for reliability of the binarization.

`intermediateSteps`

:A matrix specifying the optimal step functions from which the binarization was calculated. The number of rows corresponds to the number of step functions, and the number of columns is determined by the length of the input vector minus 2 (that is, the length of the step function corresponding to the input vector). From the first to the last row, the number of steps increases. The non-zero entries of the matrix represent the locations of the steps. Step functions with fewer steps than the input step function have entries set to zero.

`intermediateHeights`

:A matrix giving the jump heights of the steps supplied in `intermediateSteps`

.

`intermediateStrongestSteps`

:A vector with one entry for each step function (row) in `intermediateSteps`

. The entries specify the location of the strongest step for each of the functions.

`originalMeasurements`

:A numeric vector storing the input measurements.

`binarizedMeasurements`

:An integer vector of binarized values (0 or 1) corresponding to the original measurements.

`threshold`

:The threshold that separates 0 and 1.

`method`

:A string describing the binarization method that yielded the result.

### Extends

Class `"BinarizationResult"`

, directly.

### Methods

- plotStepFunctions
`signature(x = "BASCResult")`

: Plot the intermediate optimal step functions used to determine the threshold.

- print
`signature(x = "BASCResult")`

: Print a summary of the binarization.

- show
`signature(object = "BASCResult")`

: ...

### See Also

`binarize.BASC`

,
`BinarizationResult`

[Package

*Binarize* version 1.3

Index]