superheat
superheat copied to clipboard
yr.lim/yt.lim and yr.breaks/yt.breaks not working
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))