Description Usage Arguments Value Author(s) Examples
View source: R/distributionDistance.R
Be aware that this function is implemented quite slow.
1 2 | 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
1 2 3 4 5 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.