APC correction. Core version, unaware of any subdivision of the dataset.

APC(
  results,
  do.ASC = FALSE,
  do.fix_positivity = FALSE,
  do.asinh.before = FALSE,
  do.asinh.after = FALSE,
  use.median = TRUE,
  column = "score",
  out.column = "APC",
  verbose = FALSE
)

Arguments

results

table of pairwise interactions

do.ASC

whether calculating APC or ASC

do.fix_positivity

Whether setting negative scores to 0

use.median

Use median instead of average

column

Which column to use as score

Value

APC scores