fit_stand_feature: Fit lm and standardize all features

View source: R/helpers_adjust_batch.R

fit_stand_featureR Documentation

Fit lm and standardize all features

Description

Fit lm and standardize all features

Usage

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.


biobakery/MMUPHin documentation built on March 30, 2024, 4:50 a.m.