back_transform_abd {MMUPHin} | R Documentation |
Transform batch adjusted feature abundances back to the original scale in feature_abd
back_transform_abd(adj_data, feature_abd, type_feature_abd)
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. |
feature-by-sample matrix of batch-adjusted feature abundances, with covariate effects retained and scales consistent with original abundance matrix.