plot_scatter: Make a pretty scatter plot between two sets of numbers.

View source: R/plot_point.R

plot_scatterR Documentation

Make a pretty scatter plot between two sets of numbers.

Description

This function tries to supplement a normal scatterplot with some information describing the relationship between the columns of data plotted.

Usage

plot_scatter(
  df,
  color = "black",
  xlab = NULL,
  ylab = NULL,
  alpha = 0.6,
  size = 2
)

Arguments

df

Dataframe likely containing two columns.

color

Color of the dots on the graph.

xlab

Alternate x-axis label.

ylab

Alternate x-axis label.

alpha

Define how see-through the dots are.

size

Size of the dots on the graph.

Value

Ggplot2 scatter plot.

See Also

[plot_linear_scatter()] [all_pairwise()]

Examples

## Not run: 
 plot_scatter(lotsofnumbers_intwo_columns)

## End(Not run)

elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.