I am trying to plot a correlation heatmap by using corrplot package. Details can be found here. But my question is if I want to limit the row and column name where we need the modification?
Row name
mpg cyl disp hp drat
Column name
wt qsec vs am gear carb
Data M = cor(mtcars)
corrplot(M, p.mat = testRes$p, method = 'color', diag = FALSE, type = 'upper', sig.level = c(0.001, 0.01, 0.05), pch.cex = 0.9, insig = 'label_sig', pch.col = 'grey20', order = 'AOE')
Figure should be look like below: