get.union.cut: Scale-thresholding of multiscale modules.

Description Usage Arguments Details Author(s) Examples

Description

obtain a discrete, disjoint clustering results from multiscale MEGENA modules for a given alpha value.

Usage

1
2
get.union.cut(module.output,alpha.cut,output.plot = T,
plotfname = "validModules_alpha",module.pval = 0.05,remove.unsig = T)

Arguments

module.output

A direct output from "do.MEGENA". (i.e. MEGENA.output$module.output).

alpha.cut

Resolution parameter cut-off (i.e. alpha) value. alpha.cut = 1 corresponds to classical definition of "small-world" compactness.

output.plot

TRUE/FALSE to indicate outputting a .png file showing hierarchical structure with final outputted modules highlighted in red.

plotfname

.png file outputname.

module.pval

module significance p-value.

remove.unsig

TRUE/FALSE indicating to remove insignificant clusters.

Details

Returns a list object where each entry is a module.

Author(s)

Won-Min Song

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
rm(list = ls())
data(Sample_Expression)
ijw <- calculate.correlation(datExpr[1:100,],doPerm = 2)
el <- calculate.PFN(ijw[,1:3])
g <- graph.data.frame(el,directed = FALSE)
MEGENA.output <- do.MEGENA(g = g,remove.unsig = FALSE,doPar = FALSE,n.perm = 10)
get.union.cut(module.output = MEGENA.output$module.output,alpha.cut = 1,
output.plot = FALSE,plotfname = NULL,module.pval = 0.05,remove.unsig = TRUE)

## End(Not run)

MEGENA documentation built on May 1, 2019, 8:07 p.m.