filter.coabundance: Filter a coabundance object

Description Usage Arguments

View source: R/coabundance.R

Description

Filter a coabundance object

Usage

1
2
3
4
5
6
7
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.


danlooo/coabundance documentation built on Jan. 24, 2021, 9:16 a.m.