plotDISTS4Peak {MMDiff2} | R Documentation |
showing all distances for one region
plotDISTS4Peak(MD, Peak.id, dist.method = "MMD", whichContrast = 1, Zoom = TRUE, xlim = NULL, ylim = NULL, xlog10 = TRUE, title = NULL)
MD |
DBAmmd Object. This Object can be created using |
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) |
dev.off() load(system.file("data/MMD.RData", package="MMDiff2")) plotDISTS4Peak(MMD,Peak.id = '6',dist.method='MMD', whichContrast=1)