plotHistDists(DBA, method = "MMD", group1, group2, field4X = "NormTotalCounts", bUsePval = FALSE, pnames = "combined", thresh = 0.05, save2file = FALSE, fn.pics, ftype = pdf, xlim = NULL, ylim = NULL)
# load DBA objects with peak profiles and pairwise distances
data(Cfp1Dists)
# determine empirical p-values:
group1 <- c("WT.AB2", "Resc.AB2")
group2 <- c("Null.AB2")
Cfp1Pvals <- detPeakPvals(Cfp1Dists, group1=group1, group2=group2,
name1='Wt/Resc', name2='Null')
# plot distances and peaks which are significantly different:
plotHistDists(Cfp1Pvals, group1=group1, group2=group2)
Run the code above in your browser using DataLab