plotDISTS4Peak: plotDISTS4Peak

Description Usage Arguments Examples

View source: R/plotDISTS4Peak.R

Description

showing all distances for one region

Usage

1
2
plotDISTS4Peak(MD, Peak.id, dist.method = "MMD", whichContrast = 1,
  Zoom = TRUE, xlim = NULL, ylim = NULL, xlog10 = TRUE, title = NULL)

Arguments

MD

DBAmmd Object. This Object can be created using DBAmmd().

Peak.id

Peak id to specify which Peak to plot. (coresponding to names of Regions(MD))

dist.method

specify method used for distances between samples. Currently only Maximum Mean Discrepancy (MMD) and Kolmogorov-Smirnov (KS) implemented. (DEFAULT: 'MMD')

whichContrast

index determining which of the set contrast should be used. (DEFAULT: 1)

Zoom

(DEFAULT: TRUE)

xlim

specify x range (DEFAULT: NULL)

ylim

specify y range (DEFAULT: NULL)

xlog10

should x range be plotted in log10 scale (DEFAULT: TRUE)

title

(DEFAULT: NULL)

Examples

1
2
3
dev.off()
load(system.file("data/MMD.RData", package="MMDiff2"))
plotDISTS4Peak(MMD,Peak.id = '6',dist.method='MMD', whichContrast=1)

MMDiff2 documentation built on May 31, 2017, 1:16 p.m.

Search within the MMDiff2 package
Search all R packages, documentation and source code