classifyAndSortReads | R Documentation |
Classify reads by their posterior probability of belonging to a specific class Then sort the classes by using similarity to the mean profile of previous classes. If the means of previous classes was not provided, hclust is used to cluster classes by their similarity.
classifyAndSortReads(dataMatrix, posteriorProb, previousClassMeans = NULL)
dataMatrix |
A matrix of methylation or bincount values (reads x position) |
posteriorProb |
posteriorProb: a matrix of probabilites of each sample belonging to a particular class (samples x class) |
previousClassMeans |
A matrix of the class means from a previous round of clustering |
Returns a matrix with the reads classified (__classX is appended to the read name), and the classes are sorted.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.