impute_abundance,SummarizedExperiment-method {tidybulk}R Documentation

impute_abundance

Description

impute_abundance

Usage

## S4 method for signature 'SummarizedExperiment'
impute_abundance(
  .data,
  .formula,
  .sample = NULL,
  .transcript = NULL,
  .abundance = NULL
)

Arguments

.data

A 'tbl' formatted as | <SAMPLE> | <TRANSCRIPT> | <COUNT> | <...> |

.formula

A formula with no response variable, representing the desired linear model where the first covariate is the factor of interest and the second covariate is the unwanted variation (of the kind ~ factor_of_intrest + batch)

.sample

The name of the sample column

.transcript

The name of the transcript/gene column

.abundance

The name of the transcript/gene abundance column

Value

A 'SummarizedExperiment' object


[Package tidybulk version 0.99.23 Index]