outlier_labeled_scatterplot: Return a scatterplot, labeling outliers.

Description Usage Details Value

View source: R/utilities.R

Description

Return a scatterplot, labeling outliers.

Usage

1
outlier_labeled_scatterplot(data, main = "", prop_label = 0.02)

Details

This function plots two variables, labeling the ones that are far from their neighbors. 'data' should be a dataframe with first column to go on the horizontal axis, second on the vertical. The third column is treated as the labels and the fourth (optional) is treated as the color. 'main' shows up as the figure title. The proportion of points labeled is 'prop_label'.

Value

Prints and returns a ggplot object.


maehrlab/thymusatlastools documentation built on May 28, 2019, 2:32 a.m.