aldex.expectedDistance: Calculate the expected values of distances between samples,...

View source: R/expectedDistance.aldex.r

aldex.expectedDistanceR Documentation

Calculate the expected values of distances between samples, given an aldex Object

Description

Calculates the expected value of distances between samples, given an aldex Object, using the median value of distances derived from n Monte-Carlo replicates.

Usage

aldex.expectedDistance(clrData)

Arguments

clrData

an object of class aldex produced by the aldex function

Value

Returns a dist Object.

References

Please use the citation given by citation(package="ALDEx").

See Also

aldex, aldex.clr, dist

Examples

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))


ggloor/ALDEx_bioc documentation built on Oct. 31, 2023, 1:13 a.m.