The concept of circular permutations is symmetric with respect to the input data sets. The algorithm for circular permutation calculation is, however, not symmetric with respect to two datasets and thus the required data preprocessing is also different. For simplicity, we call the data sets 'left' and 'right'.
A 0/1 vector defining selected (genomic) features.
The 'left' and 'right' sets must have equal length.
The enrichment of their overlap can be assessed w
Returns objects of class
The returned objects are used in
Andrey A Shabalin firstname.lastname@example.org
See codeshiftrPermBinary function and the respective example.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
### Number of features nf = 1e6 ### Generate left and right sets lset = sample(c(0L,1L), size = nf, replace = TRUE) rset = sample(c(0L,1L), size = nf, replace = TRUE) # Prepare binary sets: lbin = shiftrPrepareLeft(lset) rbin = shiftrPrepareRight(rset) ### Check object sizes # Notice asymetry in binary object sizes object.size(lset) object.size(rset) object.size(lbin) object.size(rbin)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.