panelCor: panelCor

Description Usage Arguments Value

View source: R/NanoStringQualityMetrics.R

Description

Helper function for printing correlation coefficients inside a pairs plots

Usage

1
panelCor(x, y, digits = 2, cex.cor = 0.75, doTest = FALSE)

Arguments

x

integer

y

integer, same length as x

digits

scalar integer, indicating the number of decimal positions for displaying the correlation coefficient

cex.cor

scalar numeric to specify relative font size for priting the correlation coefficient

doTest

boolean, whether a results of cor.test should be displayed as well

Value

Prints correlation coefficients (and p-values if doTest = TRUE) within a pairs plot.


NanoStringQCPro documentation built on Nov. 8, 2020, 8:11 p.m.