back_transform_abd: Transform batch adjusted feature abundances back to the...

Description Usage Arguments Value

View source: R/helpers_adjust_batch.R

Description

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

Usage

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


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