Filter a coabundance object

filter.coabundance(
  x,
  max_pval = 0.05,
  min_abs_estimate = NULL,
  remove_isolated_nodes = TRUE,
  recalculate_topology = TRUE
)

Arguments

x

coabundance object

max_pval

maximum p value to keep an edge. Will be ignores if the p.value is not available

min_abs_estimate

minimal absolute value of the estimate to keep an edge. This is to filter edges with a low effect size.

remove_isolated_nodes

TRUE if nodes not being part of any edge after filtering should be removed, FALSE otherwise.

recalculate_topology

TRUE if node topology metrics e.g. centrality scores should be recalculated after filtering, FALSE otherwise.