back_transform_abd {MMUPHin} | R Documentation

## Transform batch adjusted feature abundances back to the original scale in feature_abd

### Description

Transform batch adjusted feature abundances back to the original scale in feature_abd

### Usage

    back_transform_abd(adj_data, feature_abd, type_feature_abd)

### Arguments

`adj_data` | feature-by-sample matrix of batch-adjusted feature abundances with covariate effects retained.
`feature_abd` | original feature-by-sample matrix of abundances (proportions or counts).
`type_feature_abd` | type of feature abundance table (counts or proportions). If counts, the final output will be rounded into counts as well.

### Value

feature-by-sample matrix of batch-adjusted feature abundances, with covariate effects retained and scales consistent with original abundance matrix.

[Package MMUPHin version 1.0.0 Index]