plotRelativeDensities: Plotting utility to overlay all relative densities

Description Usage Arguments Value Examples

View source: R/plotRelativeDensities.R

Description

Overlay all relative densities

Usage

1
plotRelativeDensities(mat, Group = NULL, idx = NULL, main = "Densities")

Arguments

mat

Matrix with positive entries, samples as columns

Group

The factor showing the sample membership, of length ncol(mat)

idx

Number between 1:ncol(mat); which sample to use as denominator, first one by default

main

Title; optional

Value

Plotting only

Examples

1
2
3
4
mat = matrix(abs(rnorm(50000)), ncol=5)
mat[,5] = mat[,5] + 2

plotRelativeDensities(mat, Group=c(rep("A",4),"B"), idx=1)

Bioconductor-mirror/SwathXtend documentation built on July 19, 2017, 8:41 a.m.