plotDISTS4Peak {MMDiff2} | R Documentation

## plotDISTS4Peak

### Description

showing all distances for one region

### Usage

    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

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

[Package MMDiff2 version 1.16.0 Index]