calc_DA_discrepancy: Calculates the discrepancy between differential abundance...

View source: R/evaluate_DA.R

calc_DA_discrepancyR Documentation

Calculates the discrepancy between differential abundance calls made on absolute and relative abundances

Description

Calculates the discrepancy between differential abundance calls made on absolute and relative abundances

Usage

calc_DA_discrepancy(
  calls,
  oracle_calls,
  adjusted = TRUE,
  alpha = 0.05,
  beta = NULL
)

Arguments

calls

calls (as a numeric vector of p-values or a character string that can be parsed into one) made on relative abundances (the observed data)

oracle_calls

calls (as a numeric vector of p-values or a character string that can be parsed into one) made on the absolute abundances

adjusted

flag indicating whether or not to perform multiple test correction

alpha

significance threshold after FD adjustment

beta

optional effect size threshold at the scale of the original abundances (i.e. not log scale)

Value

named list of all calls, TPR, and FPR


kimberlyroche/codaDE documentation built on May 11, 2022, 12:40 a.m.