construct_ind: Create indicator matrices for which feature/batch/samples to...

Description Usage Arguments Value

View source: R/helpers_adjust_batch.R

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

1
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.


MMUPHin documentation built on April 9, 2021, 6:01 p.m.