ropegraph: Convenience wrapper for 'rope' for adjacency matrices

Description Usage Arguments Value Examples

Description

When modeling graphs it may be more convenient to store data as matrices instead of row vectors.

Usage

1

Arguments

data

List of symmetric matrices, one matrix for each penalization level

B

Number of bootstraps used to construct data. At least 21 are needed for u-shape test heuristic to work, but in general it is recommended to use many more.

...

Additional arguments are passed on to rope.

Value

A list with components

selection

list of symmetric matrices, one matrix for each fdr target

q

symmetric matrix of q-values

level

index of most separating parameter value

alt.prop

estimated proportion of alternative variables

Examples

1
2
3
4
5
6
7
## Not run: 
data # a list of symmetric matrices, one matrix for each penalization level,
  # each matrix containing selection counts for each edge over 100 bootstraps
fdr <- c(0.05, 0.1)
result <- rope(data, 100, fdr)

## End(Not run)

rope documentation built on May 2, 2019, 12:36 p.m.