View source: R/expectedDistance.aldex.r
aldex.expectedDistance | R Documentation |
aldex
ObjectCalculates the expected value of distances between samples, given an aldex
Object, using the median value of distances derived from n Monte-Carlo replicates.
aldex.expectedDistance(clrData)
clrData |
an object of class |
Returns a dist
Object.
Please use the citation given by citation(package="ALDEx")
.
aldex
, aldex.clr
, dist
data(selex)
#subset for efficiency
selex <- selex[1201:1600,]
conds <- c(rep("NS", 7), rep("S", 7))
x <- aldex.clr(selex, conds, mc.samples = 128, denom = "all", verbose = FALSE)
x.dist <- aldex.expectedDistance(x)
plot(hclust(x.dist))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.