powered by
Plot a generic scatter plot in log10 scale
scatterplot_log10(df, g = ggplot(), colNameX = "x", colNameY = "y", dot_size = 0.5)
a data frame to trasform to log10 scale
the current ggplot to overlap
the name of the column for the X axis
the name of the column for the Y axis
the size of the dots in the scatterplot
the plot
# NOT RUN { df <- data.frame(a=exp(rnorm(10000)), b=exp(rnorm(10000))) scatterplot_log10(df, colNameX="a", colNameY="b") # }
Run the code above in your browser using DataLab