numFeatures {ALDEx2} | R Documentation |
Returns the number of non-0 features associated with the data,
for an aldex.clr
object.
numFeatures(.object)
.object |
A |
Returns the number of features associated with the data that are not 0 in all samples.
A numeric representing the number of non-0 features associated with the data.
aldex.clr
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)