cb_test | R Documentation |
cb_test
is a flexible tool for discovering interesting
chromosome bands relative to a selected gene list. The function
supports local and global tests which can be carried out in a top down
or bottom up fashion on the tree of chromosome bands.
cb_test(selids, chrtree, level, dir = c("up", "down"),
type = c("local", "global"), next.pval = 0.05,
cond.pval = 0.05, conditional = FALSE)
selids |
A vector of gene IDs. The IDs should match those used
to annotatate the |
chrtree |
A |
level |
An integer giving the level of the chromosome band tree
at which testing should begin. The level is conceptualized as the set
of nodes with a given path length to the root (organism) node of the
chromosome band tree. So level 1 is the chromosome and level 2 is the
chromosome arms. You can get a better sense by calling
|
dir |
A string giving the direction in which the chromosome band
tree will be traversed when carrying out the tests. A bottom up
traversal, from leaves to root, is specified by |
type |
A string giving the type of test to perform. The current
choices are |
next.pval |
The p-value cutoff used to determine whether the parents or children of a node should be tested. After testing a given level of the tree, the decision of whether or not to continue testing the children (or parents) of the already tested nodes is made by comparing the p-value result for a given node with this cutoff; relatives of nodes with values strictly greater than the cutoff are skipped. |
cond.pval |
The p-value cutoff used to determine whether a node
is significant during a conditional test. See |
conditional |
A logical value. Can only be used when
|
A list with an element for each level of the tree that was tested.
Note that the first element will correspond to the level given by
level
and that subsequent elements will be the next or previous
depending on dir
.
Each level element is itself a list consisting of a result list for each node or set of nodes tested. These inner-most lists will have, at least, the following components:
nodes |
A character vector of the nodes involved in the test. |
p.value |
The p-value for the test |
observed |
The contingency table |
method |
A brief description of the test method |
Seth Falcon
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.