View source: R/classifyByKnownClasses.R
getAllClassMeansMatrix | R Documentation |
AllClassMeans is a list of tables with the position in the list corresponding to the total number of classes used in clustering and the table giving the methylation frequency at different positions for each class and each replicate. This function collects all the class mean profiles for clustering into any k clusters in k_range, and returns a matrix with cluster-name-number x position
getAllClassMeansMatrix( allClassMeans, k_range = 4:8, xRange = c(-250, 250), name = "" )
allClassMeans |
A list by number of classes of tables containing positions, fraction methylation, and class ID for replicate EM runs. |
k_range |
An vector of the range of total number of classes used in each clustering |
xRange |
A vector of the first and last coordinates of the region to plot (default is c(-250,250)) |
name |
Name of data set that will be added to the start of the row names. |
A matrix of all the class mean profiles from the clustering into all the k clusters in k_range
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.