Description Usage Arguments Details Value Author(s) Examples
This function returns all combinatorial (decimal) states that are consistent with a given abstract specification.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
replicates |
A vector specifying the replicate structure. Similar entries will be treated as replicates. |
differential.states |
A logical specifying whether differential states shall be returned. |
min.diff |
The minimum number of differences between conditions. |
common.states |
A logical specifying whether common states shall be returned. |
conditions |
A vector with the same length as |
tracks2compare |
A vector with the same length as |
sep |
Separator used to separate the tracknames in the combinations. The default '+' should not be changed because it is assumed in follow-up functions. |
statespec |
If this parameter is specified,
|
diffstatespec |
A vector composed of any combination of the following entries:
|
exclusive.table |
A |
binary.matrix |
A logical matrix produced by |
The binary modification state (unmodified=0 or modified=1) of multiple ChIP-seq samples defines a (decimal) combinatorial state such as:
sample1 | sample2 | sample3 | sample4 | sample5 | combinatorial state | |
bin1 | 0 | 0 | 1 | 0 | 0 | 4 |
bin2 | 0 | 0 | 0 | 0 | 0 | 0 |
bin3 | 0 | 1 | 0 | 1 | 0 | 10 |
bin4 | 0 | 1 | 1 | 1 | 1 | 15 |
bin5 | 0 | 0 | 1 | 0 | 1 | 5 |
A data.frame with combinations and their corresponding (decimal) combinatorial states.
Aaron Taudt, David Widmann
1 2 3 4 5 6 7 8 9 10 | # Get all combinatorial states where sample1=0, sample2=1, sample3=(0 or 1),
# sample4=sample5
chromstaR:::state.brewer(statespec=c('0.A','1.B','x.C','r.D','r.D'))
# Get all combinatorial states where sample1=sample2=sample3, sample4=sample5
chromstaR:::state.brewer(statespec=c('r.A','r.A','r.A','r.B','r.B'))
# Get all combinatorial states where sample1=sample5, sample2=sample3=1,
# sample4=(0 or 1)
chromstaR:::state.brewer(statespec=c('r.A','1.B','1.C','x.D','r.A'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.