get_adjusted_counts_for_unwanted_variation_bulk: Get adjusted count for some batch effect

Description Usage Arguments Value

Description

Get adjusted count for some batch effect

Usage

1
2
3
4
5
6
7
8
9
get_adjusted_counts_for_unwanted_variation_bulk(
  .data,
  .formula,
  .sample = NULL,
  .transcript = NULL,
  .abundance = NULL,
  log_transform = TRUE,
  ...
)

Arguments

.data

A tibble

.formula

a formula with no response variable, of the kind ~ factor_of_interest + 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

log_transform

A boolean, whether the value should be log-transformed (e.g., TRUE for RNA sequencing data)

...

Further parameters passed to the function sva::ComBat

Value

A tibble with adjusted counts


tidybulk documentation built on April 7, 2021, 6 p.m.