diagnosticsVarPlotsTwoSample {pathVar} | R Documentation

## Plots the average expression against variability using different summary statistics when comparing 2 groups of samples to each other.

### Description

Plots the average expression against variability using different summary statistics to help decide which statistic would be the best with your dataset when comparing 2 groups of samples to each other.

### Usage

    diagnosticsVarPlotsTwoSample(dat.mat,groups)

### Arguments

`dat.mat` | a `matrix` with rows as genes and columns as samples.
`groups` | `vector` indicating the amount of samples and replicates of each sample.

### Details

This function gives you 3 plots one for SD, one for MAD and one for CV against the mean to help you decide which one would be the best with your dataset. It also returns the correlation between each variability statistics and the mean.

### Value

3 scatter plots where average expression is on the X-axis and SD, MAD, and CV are on the Y-axis.

### Author(s)

Laurence de Torrente, Samuel Zimmerman, Jessica Mar

### Examples

    diagnosticsVarPlotsTwoSample(bock[1:5000,], groups=as.factor(c(rep(1,10),rep(2,10))))

[Package pathVar version 1.18.0 Index]