Learn R Programming

Patterns (version 1.4)

cutoff,omics_network-method: Choose the best cutoff

Description

Allows estimating the best cutoff. For a sequence of cutoff, the p value corresponding to each cutoff value of the sequence. Mainly recommended for single time cascade networks. To achieve more sparsity in other settings, please use a fiiting function based on the stability selection or selectboost algorithms.

Usage

# S4 method for omics_network
cutoff(Omega, sequence = NULL, x_min = 0)

Value

A list containing two objects :

p.value

the p values corresponding to the sequence of cutoff

p.value.inter

the smoothed p value vector, using the loess function

Arguments

Omega

a omics_network object

sequence

a vector corresponding to the sequence of cutoffs that will be tested.

x_min

an integer ; only values over x_min are further retained for performing the test.

Author

Bertrand Frederic, Myriam Maumy-Bertrand.

Examples

Run this code

# \donttest{
		data(network)
		cutoff(network)
		#See vignette for more details
# }

Run the code above in your browser using DataLab