taiyun / corrplot

A visual exploratory tool on correlation matrix
https://github.com/taiyun/corrplot
Other
316 stars 86 forks source link

Keep order of dataset #172

Closed KistinaMohamed closed 3 years ago

KistinaMohamed commented 3 years ago

Hi,

Is there a way to get corrplot to plot data according to the same order in corrMatrix? I can't seem to make out the random pattern that comes out when running corrplot of my corrMatrix.

Many thanks.

taiyun commented 3 years ago

corrplot keeps order of corrMatrix by default. For details, see order parameter:

order, Character, the ordering method of the correlation matrix.

"original" for original order (default).
"AOE" for the angular order of the eigenvectors.
"FPC" for the first principal component order.
"hclust" for the hierarchical clustering order.
"alphabet" for alphabetical order.