Description Usage Arguments Details Value Examples
featureTest
takes a loops
and
genomic coordinates of regions and computes combined significance
metrics for each region using the Simes procedure
1 2 3 4 | featureTest(x, features)
## S4 method for signature 'loops,GRanges'
featureTest(x, features)
|
x |
A loops object |
features |
A GRanges object defining regions for a combined test |
This function returns a data.frame sorted by FDR of each region. Assumes
the region name is specified in the GRanges object with id
column.
Each feature is a one row in the GRanges object. The combined significance
measure per feature is computed via the Simes method for intrachromosomal
loops where at least one anchor from the loop overlaps with the region of
interest.
A data.frame sorted by FDR
1 2 3 4 5 6 | # Human genes chromosome 1 regional association
rda<-paste(system.file('rda',package='diffloop'),'loops.small.rda',sep='/')
load(rda)
# assoc <- loopAssoc(loops.small, coef = 2)
# Gene based association
# sw_jn <- featureTest(assoc, getHumanGenes(c('1')))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.