filter_network: Filter the edges table to nodes above a given abundance ratio...

Description Usage Arguments Value

View source: R/compute_scores.R

Description

Filter the edges table to nodes above a given abundance ratio and edges above a given concordance level.

Usage

1
filter_network(nodes_scores, edges_scores, abundance, concordance)

Arguments

nodes_scores

A dataframe with abundance score for all nodes across all groups. Use the output dataframe from get_abundance_table function.

edges_scores

A dataframe with the concordance score for each edge in the scaffold. Use the output dataframe from compute_concordance function.

abundance

The abundance threshold to filter nodes. Should be between 0 and 1.

concordance

The concordance threshold to filter edges. Only positive values.

Value

A dataframe with all nodes with UpBinRatio above the abundance threshold and edges with ratioScores above the concordance threshold.


heimannch/abcnet documentation built on Jan. 2, 2021, 5:06 p.m.