Description Usage Arguments Details Value Author(s) Examples
Using prior information from previous studies or annotation data to determine sojourn distribution parameters
1 | sojournAnno(xAnno, soj.type = "gamma", pbdist = NULL)
|
xAnno |
a |
soj.type |
type of the sojourn distribution, following types are supported: 'gamma', 'pois', 'nbinom' |
pbdist |
average distance between neighbouring features, in this case in the |
Be default, the hidden-semi Markov model implemented in this package uses a uniform prior for the initial sojourn distribution. However user can provide custom data from related studies to learn the prior of the sojourn distribution. The number of possible state will also be estimated from the unique level of feature type in the first meta column of xAnno
if it is not a TxDb
object.
a list object containing the sojourn distribution parameter
|
type of the sojourn distribution |
|
unique levels of the types stored in the first meta column of |
|
number of possible states |
\code... |
distribution parameters, 'lambda' and 'shift' for 'pois'; 'size', 'mu' and 'shift' for 'nbinom'; 'scale' and 'shape' for 'gamma' |
Yang Du
1 2 3 | data(encodeTP53)
encodeTP53$gmgr # a GRanges object
soj<-sojournAnno(encodeTP53$gmgr, soj.type='gamma')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.