construct_ind {MMUPHin} | R Documentation

## Create indicator matrices for which feature/batch/samples to adjust. This is relevant for zero_inflation is TRUE and only non-zero values are adjusted.

### Description

Create indicator matrices for which feature/batch/samples to adjust. This is relevant for zero_inflation is TRUE and only non-zero values are adjusted.

### Usage

    construct_ind(feature_abd, n_batch, design, zero_inflation)

### Arguments

`feature_abd` | feature-by-sample matrix of abundances (proportions or counts).
`n_batch` | number of batches in the data.
`design` | design matrix.
`zero_inflation` | zero inflation flag.

### Value

list of indicator matrices needed by fitting in adjust_batch.

[Package MMUPHin version 1.4.2 Index]