numFeatures {ALDEx2}R Documentation

numFeatures

Description

Returns the number of features associated with the data, for an aldex.clr object.

Usage

numFeatures(.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 number of features associated with the data.

Value

A numeric representing the number of features associated with the data.

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)
numFeatures <- numFeatures(x)

[Package ALDEx2 version 1.22.0 Index]