Last chance! 50% off unlimited learning
Sale ends in
detPeakPvals(DBA, method = "MMD", group1, group2, name1 = "g1", name2 = "g2", Usefiltered = TRUE, PeakIDs = NULL, quantprobs = seq(0, 1,0.05), fieldName = "NormTotalCounts",bNormWidth=FALSE, bSampleMean = FALSE, overWrite = FALSE)
# load DBA objects with peak profiles and pairwise distances
data(Cfp1Dists)
# specify controll and treatment groups:
group1 <- c("WT.AB2", "Resc.AB2")
group2 <- c("Null.AB2")
# determine empirical p-values:
Cfp1Pvals <- detPeakPvals(Cfp1Dists, group1=group1, group2=group2,
name1='Wt/Resc', name2='Null')
# to plot distances and peaks which are significantly different use the
# plotHistDists function:
plotHistDists(Cfp1Pvals, group1=group1, group2=group2)
Run the code above in your browser using DataLab