SetBiologicalZeros {ADImpute} | R Documentation

## Set biological zeros

### Description

`SetBiologicalZeros` sets some of the entries back to zero after dropout imputation, as they likely correspond to true biological zeros (genes not expressed in given cell)

### Usage

    SetBiologicalZeros(imputation, drop_probs, thre = .2, was_zero)

### Arguments

`imputation` | matrix; imputed values
`drop_probs` | matrix; dropout probabilities for each entry in `imputation`. 0 means certain biological zero, while 1 means certain dropout to be imputed
`thre` | numeric; probability threshold to classify entries as biological zeros
`was_zero` | matrix; logical matrix: was the corresponding entry of `imputation` originally a zero?

### Details

Entries which were originally zero and have dropout probability below `thre` are considered biological zeros and, if they were imputed, are set back to 0.

### Value

matrix containing likely biological zeros set back to 0.

[Package ADImpute version 1.0.0 Index]