Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
veraeva opened this issue Sep 16, 2021 · 0 comments
Open

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

veraeva opened this issue Sep 16, 2021 · 0 comments

Comments

@veraeva
Copy link

veraeva commented Sep 16, 2021

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))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant