Description Usage Arguments Details Value See Also Examples
View source: R/plot_row_joint.R
plot_column_joint
is a function used to evaluate the clustering quality between m6A sites.
1 2 | plot_row_joint(SE, HDER = "Row_joint", K = 3, ROW_STAND = T,
RETURN_INDX = F, PROVIDE_INDX = NULL)
|
SE |
A |
HDER |
The subtitle and the file name of the plot. |
K |
Number of centers used in K medoids clustering. |
ROW_STAND |
Whether to standardize rows before clustering, default is TRUE. |
RETURN_INDX |
Whether to return the clustering index, default is TRUE. |
By default, a K medoids clustering will be applied between rescaled row entires with metric of euclidean; then, a simplified heat map will be plotted. Finally, a report by multinomial GLM is conducted using the clustering label and features.
The suggested quick check row number for SE should be less than 10000, otherwise this function would be time consuming.
About silhouette plot (from wikipedia).
The average silhouette of the data is another useful criterion for assessing the natural number of clusters. The silhouette of a data instance is a measure of how closely it is matched to data within its cluster and how loosely it is matched to data of the neighbouring cluster, i.e. the cluster whose average distance from the datum is lowest. A silhouette close to 1 implies the datum is in an appropriate cluster, while a silhouette close to <e2><88><92>1 implies the datum is in the wrong cluster. Optimization techniques such as genetic algorithms are useful in determining the number of clusters that gives rise to the largest silhouette. It is also possible to re-scale the data in such a way that the silhouette is more likely to be maximised at the correct number of clusters
A clustering index, also a plot will be saved under a file named by HDER
.
predictors.annot
, glm_multinomial
, go_multinomial
1 | eval_row_joint(SE_features_added, "Row_joint_CQN")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.