DBscore | R Documentation |
Use limma to do differential binding analysis for binding scores.
DBscore(se, design, coef, ...)
se |
An RangedSummarizedExperiment object. Outputs of getWeightedBindingScore. |
design |
Design table for lmFit. |
coef |
column number or column name specifying which coefficient or contrast of the linear model is of interest. See topTable. |
... |
Parameters can be used by lmFit. |
A RangedSummarizedExperiment object with the dataframe returned by topTable as appendence of the origin rowData.
Jianhong Ou
library(SummarizedExperiment)
set.seed(1)
sigma2 <- 0.05 / rchisq(100, df=10) * 10
y <- matrix(rnorm(100*6,sd=sqrt(sigma2)),100,6)
design <- cbind(Intercept=1,Group=c(0,0,0,1,1,1))
y[1,4:6] <- y[1,4:6] + 1
se <- SummarizedExperiment(assays=list(counts=y))
DBscore(se, design, coef=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.