m2mCorrPlot: Dot matrix of Correlations

View source: R/m2mCorrPlot.R

m2mCorrPlotR Documentation

Dot matrix of Correlations

Description

Generates a matrix plot of graphical representations of correlations using either 1 or 2 matrices. This is a wrapper for the corrplot function (from the CorrPlot package) that adds the step of combining matrices into one (if necessary) and calculating correlations for plotting. The problem of graphing larger matrices still remains. This is generally good up to 10 columns of measures after which the graphics can get ugly. Generally good to minimize the length of measurement (column) names.

Usage

m2mCorrPlot(mat1, mat2, method = "pearson")

Arguments

mat1

matrix one with samples in rows and measurements in columns

mat2

optional: matrix of measures using overlapping samples as matrix 1. Samples not appearing in both matrices will be culled. mat2 will be transposed if necessary.

method

Type of correlation to perform "pearson" or "spearman"


genejockey33000/typGumbo documentation built on July 20, 2023, 11:45 p.m.