scatterplot_log10: Plot a generic scatter plot in log10 scale

Description Usage Arguments Value Examples

View source: R/sbpiper_plots.r

Description

Plot a generic scatter plot in log10 scale

Usage

1
2
scatterplot_log10(df, g = ggplot(), colNameX = "x", colNameY = "y",
  dot_size = 0.5)

Arguments

df

a data frame to trasform to log10 scale

g

the current ggplot to overlap

colNameX

the name of the column for the X axis

colNameY

the name of the column for the Y axis

dot_size

the size of the dots in the scatterplot

Value

the plot

Examples

1
2
df <- data.frame(a=exp(rnorm(10000)), b=exp(rnorm(10000)))
scatterplot_log10(df, colNameX="a", colNameY="b")

sbpiper documentation built on May 2, 2019, 8:53 a.m.