panelCor: Add Pearson Correlation value to plots

Description Usage Arguments Examples

View source: R/MiChip.R

Description

Adds a pearson correlation value to the scatter plots

Usage

1
	panelCor(x,y, digits=2, prefix="r=")

Arguments

x

matrix of x values

y

matrix of y values to correlate with x

digits

number of digits to display

prefix

The string prefix that should be display on the scatterplot panel

Examples

1
2
3
4
5
#Calculate the median of a matrix omiting NAs
## Not run: 
panelCor(x,y, digits=2, prefix="r=")

## End(Not run)

MiChip documentation built on Nov. 8, 2020, 8:01 p.m.