addOffsets | R Documentation |
This function adds model offsets to epigraHMMDataSet
addOffsets(object, offsets)
object |
an epigraHMMDataSet |
offsets |
a matrix with model offsets |
To be added
An epigraHMMDataSet with an 'offsets' assay filled in.
https://github.com/plbaldoni/epigraHMM
# Creating dummy object
countData <- list('counts' = matrix(rpois(4e5,10),ncol = 4),
'controls' = matrix(rpois(4e5,5),ncol = 4))
colData <- data.frame(condition = c('A','A','B','B'), replicate = c(1,2,1,2))
object <- epigraHMMDataSetFromMatrix(countData,colData)
# Adding pre-computed offsets
object <- addOffsets(object = object,
offsets = matrix(rnorm(4e5),ncol = 4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.