fit_stand_feature: Fit lm and standardize all features

Description Usage Arguments Value

View source: R/helpers_adjust_batch.R

Description

Fit lm and standardize all features

Usage

1
fit_stand_feature(s_data, design, l_ind)

Arguments

s_data

feature-by-sample matrix of abundances (proportions or counts).

design

design matrix.

l_ind

list of indicator matrices, as returned by construct_ind.

Value

list of two componet: the standardized feature abundance matrix, and a list of per-feature standardization fits.


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