plot_row_joint: Plot the joint distribution between rows of a genomic assay.

Description Usage Arguments Details Value See Also Examples

View source: R/plot_row_joint.R

Description

plot_column_joint is a function used to evaluate the clustering quality between m6A sites.

Usage

1
2
plot_row_joint(SE, HDER = "Row_joint", K = 3, ROW_STAND = T,
  RETURN_INDX = F, PROVIDE_INDX = NULL)

Arguments

SE

A SummarizedExperiment with features annotated by predictors.annot, the colnames of the SummarizedExperiment should be sample names.

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.

Details

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

Value

A clustering index, also a plot will be saved under a file named by HDER.

See Also

predictors.annot, glm_multinomial, go_multinomial

Examples

1
eval_row_joint(SE_features_added, "Row_joint_CQN")

ZhenWei10/m6ALogisticModel documentation built on May 17, 2019, 10:11 p.m.