numFeatures-method: numFeatures

numFeaturesR Documentation

numFeatures

Description

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

Usage

  numFeatures(.object)

Arguments

.object

A aldex.clr object.

Details

Returns the number of features associated with the data that are not 0 in all samples.

Value

A numeric representing the number of non-0 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)

ggloor/ALDEx_bioc documentation built on Oct. 31, 2023, 1:13 a.m.