sampleExclusionMask {OUTRIDER} | R Documentation

## Sample exclusion

### Description

To exclude a sample from the fit process, one can use this function to mask specific samples. This can be used if replicates are present.

### Usage

    sampleExclusionMask(ods, aeMatrix = FALSE)

    sampleExclusionMask(ods) <- value

### Arguments

`ods` | An OutriderDataSet object
`aeMatrix` | If `TRUE`, it returns a 0/1 matrix for the internal autoencoder functions in the form of feature x sample
`value` | A logical vector of the length of the samples. If `TRUE`, the corresponding sample will be excluded from the autoencoder fit.

### Value

The exclusion vector/matrix.

### Examples

    ods <- makeExampleOutriderDataSet()
    sampleExclusionMask(ods) <- sample(c(FALSE, TRUE), ncol(ods), replace=TRUE)

    sampleExclusionMask(ods)

[Package OUTRIDER version 1.8.0 Index]