minNodes | R Documentation |
Deletes from the graph those annotations with less than a certain number of genes
minNodes(cwObj, cutoff)
cwObj |
a |
cutoff |
the minimum number of genes that an annotation must have |
Robert M Flight
CytoscapeWindowClass
ccOutCyt
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.