minNodes: Delete nodes with less than a certain number of genes...

minNodesR Documentation

Delete nodes with less than a certain number of genes annotated

Description

Deletes from the graph those annotations with less than a certain number of genes

Usage

	minNodes(cwObj, cutoff)

Arguments

cwObj

a CytoscapeWindowClass object returned from ccOutCyt

cutoff

the minimum number of genes that an annotation must have

Author(s)

Robert M Flight

See Also

CytoscapeWindowClass ccOutCyt

Examples

## Not run: 
hasCy <- (if (.Platform$OS.type %in% "windows") {
(length(grep("Cytoscape", system("tasklist", intern=TRUE))) > 0)})

if hasCy {
	data(ccData)
	ccResults$BP <- breakEdges(ccResults$BP, 0.8)
	cwObj <- ccOutCyt(ccResults$BP,ccOpts)

	minNodes(cwObj, 5)

}
## End(Not run)

rmflight/categoryCompare documentation built on April 25, 2024, 11:20 a.m.