distributionDistance {cn.farms} | R Documentation |
Be aware that this function is implemented quite slow.
distributionDistance(intensityData, method = c("JSDiv", "KLDiv", "KLInf"), useSubset = T, subsetFraction = 0.25, useQuantileReference = FALSE)
intensityData |
A matrix or an AffyBatch object. |
method |
The method you want to use. |
useSubset |
Logical. States if only a subset should be used. |
subsetFraction |
The fraction of the subset. |
useQuantileReference |
Logical for a quantile reference. |
Computes the distribution distance
Djork-Arne Clevert okko@clevert.de and Andreas Mitterecker mitterecker@bioinf.jku.at
load(system.file("exampleData/normData.RData", package = "cn.farms")) x <- assayData(normData)$intensity[, 1:3] y <- distributionDistance(x) attr(y, "Labels") <- substr(sampleNames(normData), 1, 7) plotDendrogram(y)