panelCor {MiChip}R Documentation

Add Pearson Correlation value to plots

Description

Adds a pearson correlation value to the scatter plots

Usage

	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


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

## End(Not run)

[Package MiChip version 1.44.0 Index]