This function is needed for DE in case the matrix is not rectangular, but includes NA
fill_NA_using_formula(
.data,
.formula,
.element = NULL,
.feature = NULL,
.value = NULL,
.value_scaled = NULL
)
A tibble
a formula with no response variable, of the kind ~ factor_of_intrest + batch
The name of the element column
The name of the feature/gene column
The name of the feature/gene value column
The name of the feature/gene scaled value column
A tibble with adjusted counts