superheat icon indicating copy to clipboard operation
superheat copied to clipboard

yr.lim/yt.lim and yr.breaks/yt.breaks not working

Open veraeva opened this issue 3 years ago • 0 comments

superheat(dplyr::select(mtcars, -mpg), # scale the variables/columns scale = T,

      # add mpg as a scatterplot next to the rows
      yr = mtcars$mpg,
      yr.axis.name = "miles per gallon",
      yr.lim = c(0, 60),
      yr.breaks = c(10, 40),
      
      # add correlation between each variable and miles per gallon
      yt = cor(mtcars)[-1,"mpg"],
      yt.plot.type = "bar",
      yt.axis.name = "Correlation\nwith mpg")

gives me the following error: Error in superheat(dplyr::select(mtcars, -mpg), scale = T, yr = mtcars$mpg, : unused argument (yr.lim = c(0, 60), yr.breaks = c(10, 40))

veraeva avatar Sep 16 '21 12:09 veraeva