Compute null distribution for a set of metrics

null_distribution(
  metrics,
  background_type,
  level_identifier,
  metric_name = "average_precision",
  n_iterations = 10000,
  random_seed = 42
)

Arguments

metrics

Metrics data frame, containing at least the column "sim_stat_background_n_{background_type}_{level_identifier}".

background_type

Background type. Either "ref" or "non_rep".

level_identifier

Level identifier. Either "i" (Level 1_0) or "g" (Level 2_1).

metric_name

name of metric. Only "average_precision" is currently implemented.

n_iterations

number of iterations for generating the null distribution

random_seed

Random seed (default = 42)

Value

Nulls data frame