corr_plot: Plot Correlation Matrix between Input Features

View source: R/corr_plot.R

corr_plotR Documentation

Plot Correlation Matrix between Input Features

Description

A graphical display of a correlation matrix.

Usage

corr_plot(cormat, method = "number", cex = 0.9)

Arguments

cormat

A correlation matrix.

method

The visualization method of correlation matrix; defaults to number. See corrplot for more details.

cex

The size of x/y axis label.

Details

corr_plot

Value

A correlation plot.

Author(s)

Matineh Rahmatbakhsh, matinerb.94@gmail.com.

Examples

data('example_data')
x <- na.omit(example_data)
#perform feature selection
s <- FSmethod(x, type = 'both',
cor.cutoff = 0.7, resampling.method = "repeatedcv",
iter = 5, repeats = 3, metric = "ROC", verbose = TRUE)
corr_plot(s$cor.result$corProfile, method = 'square' , cex = 0.5)

mrbakhsh/HPiP documentation built on March 28, 2023, 4:35 p.m.