diagnostic_adjust_batch {MMUPHin}R Documentation

Diagnostic visualization for adj_batch function

Description

Diagnostic visualization for adj_batch function

Usage

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


[Package MMUPHin version 1.7.2 Index]