| getMonteCarloSample {ALDEx2} | R Documentation |
Returns a set of Monte Carlo Dirochlet replicates for one sample generated from analysis,
for an aldex.clr object.
getMonteCarloSample(.object,i)
.object |
A |
i |
The numeric index of the desired sample. |
Returns the designated Monte Carlo Dirochlet replicates for one sample generated from analysis.
A data frame representing the designated Monte Carlo Dirochlet replicates for one sample generated from analysis.
aldex.clr
data(selex)
#subset for efficiency
selex <- selex[1201:1600,]
conds <- c(rep("NS", 7), rep("S", 7))
x <- aldex.clr(selex, conds, mc.samples = 2, denom = "all", verbose = FALSE)
monteCarloSample <- getMonteCarloSample(x,1)