diagnosticsVarPlotsTwoSample: Plots the average expression against variability using...

Description Usage Arguments Details Value Author(s) Examples

View source: R/pipeline.final.R

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

1

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

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

pathVar documentation built on Nov. 8, 2020, 5:47 p.m.