Description Usage Arguments Details Value Examples
loopAssoc
takes a loops
object and prepares it for the
returns another loops
object with summary statistics
per-loop in the rowData
1 2 3 4 5 6 |
y |
A loops object for association |
method |
Specifies association; either "Voom" or "edgeR" |
design |
A design matrix of the samples; required for "Voom" |
coef |
A vector for the coefficient of GLM. See edgeR manual |
contrast |
A vector for the contrast. See edgeR manual |
By the default, we generate is to generate a design matrix from
loops@colData$groups
. Currently, 'edgeR' and 'Voom' are the
two supported association
methods, but new association tests may be added in later developments.
A loops object
1 2 3 4 | # Differential loop fit
rda<-paste(system.file('rda',package='diffloop'),'loops.small.rda',sep='/')
load(rda)
# assoc <- loopAssoc(loops.small, coef = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.