| getRandomEnrichment {genomation} | R Documentation |
This function measures the association between two genomic features by randomizing one feature and counting the overlaps in randomized sets.
That is to say, query feature will be randomly distributed over the genome (constrained by provided options), and the overlap of target with these randomized features will be measured.
getRandomEnrichment(target, query, randomizations = 1000, rand.set = NULL, ...) ## S4 method for signature 'GRanges,GRanges' getRandomEnrichment(target, query, randomizations = 1000, rand.set = NULL, ...)
target |
a |
query |
a |
randomizations |
number of times the features to be shuffled |
rand.set |
instead of randomly placing features in |
... |
other parameters to be passed to |
returns a RandomEnrichment object
data(cage) data(cpgi) enr = getRandomEnrichment(cage, cpgi, randomizations=50)