Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

corrPlot

Plots a pairwise correlation with linear regression line


Description

Plots Pearson's correlation between two columns in a dataframe, identified by column names. Also plots linear regression line and lists the correlation coefficient (r) and cor.test p-value.

Usage

corrPlot(x, y, data, ...)

Arguments

x

Name of the column to form X axis

y

Name of the column to form Y axis

data

The dataframe containing the two columns

...

Additional options for plot()

References

Dixon GB, Davies SW, Aglyamova GA, Meyer E, Bay LK and Matz MV (2015) Genomic determinants of coral heat tolerance across latitudes.


KOGMWU

Functional Summary and Meta-Analysis of Gene Expression Data

v1.2
GPL-3
Authors
Mikhail V. Matz
Initial release
2019-02-19

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.