chooseModule: Choosing dense modules

Description Usage Arguments Details Value See Also Examples

Description

This function will choose the top modules specified by users for downstream analyses. Sub-network can also be plotted if plot=TRUE.

Usage

1
chooseModule(res.list, top = 0.01, plot = FALSE)

Arguments

res.list

The results from function dms

top

Either a percentage (<1) or an integer (>=1)

plot

To plot the sub-network or not

Details

The parameter top could be either a percentage (<1) or an integer (>=1). For example, if top is 0.01, the top 1% modules will be chosen; if top is 50, the top 50 modules will be chosen.

Value

A list contains both the chosen modules and the sub-network constructed from the chosen modules.

See Also

dms

Examples

1
2
3
4
## Not run: 
res.list <- dms(network, geneweight, expr1, expr2)

## End(Not run)

aaronwolen/dmGWAS2 documentation built on May 10, 2019, 4:04 a.m.