# Example with iris dataset
cmanhattan(iris, ~Species, plot = TRUE, plot_title = "Manhattan Distance Between Groups")
# Example with mtcars dataset
cmanhattan(mtcars, ~am, plot = TRUE, plot_title = "Manhattan Distance Between Groups")
Run the code above in your browser using DataLab