diagnostic_adjust_batch: Diagnostic visualization for adj_batch function

Description Usage Arguments Value

View source: R/helpers_adjust_batch.R

Description

Diagnostic visualization for adj_batch function

Usage

1
2
diagnostic_adjust_batch(feature_abd, feature_abd_adj, var_batch, gamma_hat,
  gamma_star, output)

Arguments

feature_abd

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

feature_abd_adj

feature-by-sample matrix of batch-adjusted feature abundances, with covariate effects retained and scales consistent with original abundance matrix.

var_batch

the batch variable (should be a factor).

gamma_hat

estimated per feature-batch gamma parameters.

gamma_star

shrinked per feature-batch gamma parameters

output

output file name

Value

(invisbly) the ggplot2 plot object


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