pair_corr {pcaExplorer} | R Documentation

## Pairwise scatter and correlation plot of counts

### Description

Pairwise scatter and correlation plot of counts

### Usage

    pair_corr(df, method = "pearson")

### Arguments

`df` | A data frame, containing the (raw/normalized/transformed) counts
`method` | Character string, one of `pearson` (default), `kendall`, or `spearman` as in `cor`

### Value

A plot with pairwise scatter plots and correlation coefficients

### Examples

    library(airway)
    data(airway)
    airway
    dds_airway <- DESeq2::DESeqDataSetFromMatrix(assay(airway),
                                                 colData = colData(airway),
                                                 design=~dex+cell)
    pair_corr(counts(dds_airway)[1:100,]) # use just a subset for the example

[Package pcaExplorer version 2.6.0 Index]