getDenom {ALDEx2} | R Documentation |
Returns the offset of the features used as the denominator
as the basis for the log-ratio, for an aldex.clr
object.
getDenom(.object)
.object |
A |
Returns the offset of the features used as the denominator as the basis for the log-ratio. A vector of numbers is the offset of the non-0 features used in the denominator.
A vector of integer row offsets.
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 = "iqlr", verbose = FALSE) Denom <- getDenom(x) # to find the names of housekeeping genes used getFeatureNames(x)[getDenom(x)]