Learn R Programming

categoryCompare (version 1.16.2)

minNodes: 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

See Also

CytoscapeWindowClass ccOutCyt

Examples

Run this code
## 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)

Run the code above in your browser using DataLab