Description Usage Arguments Value Author(s) References Examples
This function runs ZIHMM.
1 |
ChIP |
M*N matrix of ChIP read counts, where M is the number of windows in the analyzed genome and N is the number of replicates |
Control |
M*N matrix of log-transformed Control read counts |
offset |
M*N matrix of offsets. If no offset is used, use offset = matrix(0,nrow=M,ncol=N) |
control |
list of control arguments from controlPeaks() |
A list with components
Pi |
Vector of initial probabilities of the HMM |
Gamma |
Matrix of transition probabilities of the HMM |
Psi |
Vector of component-specific parameters of the HMM |
Zeroinfl |
M*N Matrix with zero-inflation probabilities |
Prob |
Mx2 Matrix with posterior probabilities |
LogF |
Mx2 Matrix with log-forward probabilities |
LogB |
Mx2 Matrix with log-backward probabilities |
Loglik |
Mx2 Matrix with window-based probabilities |
Parhist |
Matrix with paramater estimates across EM iterations |
Mean |
M*(N*2) Matrix with NB means for every replicate and HMM component. The first two columns of Mean are the background and enrichment means of replicate 1, respectively, and so on |
Viterbi |
Predicted sequence of Viterbi states |
Pedro L. Baldoni, pedrobaldoni@gmail.com
https://github.com/plbaldoni/ZIMHMM
1 2 3 4 5 | data(Huvec)
ChIP = SummarizedExperiment::assay(Huvec,'ChIP')
Control = log(SummarizedExperiment::assay(Huvec,'Control')+1)
offset = matrix(log(colSums(ChIP)),nrow = nrow(ChIP),ncol = ncol(ChIP),byrow = TRUE)
## Not run: ZIHMM(ChIP = ChIP,Control = Control,offset = offset,control = controlPeaks(epsilon.em = 1e-3,criterion = 'MRCPE'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.