tfun argument to topdown_tree_visitor or bottomup_tree_visitor.
In particular, it is these functions that are associated with the
"local" and "global" options for the type argument to
cb_test.
local_test_factory(selids, tableTest = chisq.test)
hg_test_factory(selids, PCUT = 0.05, COND = FALSE, OVER = TRUE)ChrBandTree given by chrtree. In most
cases, these will be Entrez Gene IDs.chisq.test.hg_test_factory
with COND=TRUE.TRUE, test for over representation, if FALSE,
test for under representation.tfun argument to the tree
visitor functions.
f(start, g, prev_ans)
where start is a vector of start nodes, g is a
chromosome band tree graph, and prev_ans can contain the
previous result returned by a call to this function.
cb_test