edge_voting: Edge voting

Description Usage Arguments Details Value Examples

View source: R/edge_voting.R

Description

Method to define ensemble method. Given a data frame containing inferred relationships between genes, the method will apply a defined voting method to define a consensus network. Note that the function will perform all of these voting procedures on the data.

Usage

1
edge_voting(ensemble_df)

Arguments

ensemble_df

A data frame with the outcomes of all inference methods, as defined in the merge_results or in regulatory_filtering functions

Details

Voting methods:

  1. Majority vote: edge is considered present if it is inferred in 51

  2. Super majority vote: edge is considered present if it is inferred in 2/3 of the cases

  3. Quorum vote: this method sits between between the majority vote and the supermajority. It is defined as \frac{N}{2} + 1, where N is the number of methods used

  4. Absolute majority vote: edge is present in all of the methods only

Value

A data frame with the outcome of chosen voting method

Examples

1

diogocamacho/nsmblR documentation built on Aug. 5, 2020, 1:20 a.m.