Question: Error in correlation plot display in R
3 months ago by
sonayuv • 0
sonayuv • 0 wrote:
I used the following code to get a correlogram of 326 genes. I have the pairwise correlation values. I wanted to represent them in a plot.
> library(readxl) > pears <- read_excel("PATH/pears.xlsx") > View(pears) > library(corrplot) corrplot 0.84 loaded > corrplot(pears, method="circle") Error in matrix(if (is.null(value)) logical() else value, nrow = nr, dimnames = list(rn, : length of 'dimnames'  not equal to array extent
Please help to resolve.
ADD COMMENT • link •