compare: Compare observed data to expected in permutation models

Description Usage Arguments Details Value Author(s) See Also Examples

Description

This method summarizes the result of the modelSLGI function.

Usage

1
2
## S4 method for signature 'siResult'
compare(x)

Arguments

x

a siResult object to summarize

Details

This compares the number of observed interactions to the number of expected interactions in each permutation model. It counts how many times the number of observed interactions is greater than the number of expected interactions (from the permutations) and divides by the number of permutations applied.

Value

Numerical vector

Author(s)

N. LeMeur

See Also

modelSLGI

Examples

1
2
3
4
5
data(ScISIC)
data(Atong)
data(SGA)
model <-  modelSLGI(Atong, universe= SGA, interactome=ScISIC, type="intM", perm=2)
ans <- compare(model)

SLGI documentation built on Nov. 8, 2020, 11 p.m.