Learn R Programming

ALDEx2 (version 1.4.0)

getSampleIDs: 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.

Value

A vector of sample names.

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

See Also

aldex.clr

Examples

Run this code
data(selex)
x <- aldex.clr(selex, mc.samples = 2, verbose = FALSE)
sampleIDs <- getSampleIDs(x)

Run the code above in your browser using DataLab