em_basic | R Documentation |
Expectation Maximisation algorithm
em_basic(classes, priorProb, dataMatrix)
classes |
A matrix containing the classes to be optimised. c[i,j] is the expected methylation value or bincount value of class i at position j. |
priorProb |
A vector defining the prior probabilities of each class. |
dataMatrix |
A matrix containing the sample. dataMatrix [i,j] is the methylation value or bincount value of sample i at position j. |
A list of three items: 1) classes: a matrix with classes being optimised (class x position) 2) priorProb: a vector with the prior probabilities of each class 3) posteriorProb: a matrix of probabilites of each sample belonging to a particular class (samples x class)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.