geom_hline {ggplot2} R Documentation

Reference line defined by Y intercept. Useful for annotating plots.

Description

<br /> Using the described geometry, you can insert a simple geometric <br /> object into your data visualization – a line defined by a position <br /> on the Y axis.

Usage

geom_hline(yintercept,
    color = "black",
    line.width = 3,
    linetype = Solid);

Arguments

yintercept

[as double]

color

line.width!

linetype

[as DashStyle]

Details

Authors

SMRUCC genomics institute

Value

this function returns data object of type ggplotLayer.

clr value class

Examples


[Package ggplot2 version 1.0.0.0 Index]