getSampleIDs {ALDEx2} | R Documentation

## getSampleIDs

### Description

Returns the names of the samples for an `aldex.clr` object. These can be used to access the original reads, as in `reads\$sampleID` (if the reads are a data frame).

### Usage

    getSampleIDs(.object)

### 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.

### Details

Returns the names of the samples. These can be used to access the original reads, as in `reads\$sampleID` (if the reads are a data frame).

### Value

A vector of sample names.

### 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)
    sampleIDs <- getSampleIDs(x)

[Package ALDEx2 version 1.19.4 Index]