getMonteCarloSample {ALDEx2} | R Documentation

## getMonteCarloSample

### Description

Returns a set of Monte Carlo Dirochlet replicates for one sample generated from analysis, for an `aldex.clr` object.

### Usage

    getMonteCarloSample(.object,i)

### Arguments

`.object` | A `aldex.clr` object containing the Monte Carlo Dirochlet instances derived from estimating the technical variance of the raw read count data, along with sample and feature information.
`i` | The numeric index of the desired sample.

### Details

Returns the designated Monte Carlo Dirochlet replicates for one sample generated from analysis.

### Value

A data frame representing the designated Monte Carlo Dirochlet replicates for one sample generated from analysis.

### See Also

`aldex.clr`

### 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 = 2, denom = "all", verbose = FALSE)
    monteCarloSample <- getMonteCarloSample(x,1)

[Package ALDEx2 version 1.19.4 Index]