I have a correlation matrix (200x200) in the form of:
>cormat
n1 n2 n3
n1 1.000000000 0.132555050 0.009169320
n2 -0.121419322 1.000000000 -0.174995204
n3 -0.259331076 -0.171652163 1.000000000
Etc.
I want to visualize the distribution of the correlation between the columns in the data frame, for which this matrix has been created, using single violin plot. After typing this code:
ggplot()+geom_violin(aes(c(cormat[1:200,]), c(cormat[,1:200])))
I got:
Is it a possible result? Is there a better way to plot matrix using geom_violin()?