density_rug: Function that makes a ggplot density plot with a rug on the...

Description Usage Arguments Value Examples

View source: R/density_rug.R

Description

Function that makes a ggplot density plot with a rug on the bottom

Usage

1
density_rug(to_plot, density_val)

Arguments

to_plot

Data frame containing whatever you want to plot

density_val

A character string with the value you want the density plot for

col

The color of the density line

outline

If you want the histogram to have an outline

Value

Returns a ggplot

Examples

1
density_rug(with.pheno.noblue, 'deltaCT.Plateadjust.mean', outline = F)

syyang93/yangR documentation built on March 1, 2021, 4:55 p.m.