plotRelativeDensities {SwathXtend}R Documentation

Plotting utility to overlay all relative densities

Description

Overlay all relative densities

Usage

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

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

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


[Package SwathXtend version 2.10.0 Index]