aldex.plotFeature: Show dispersion of the expected values returned by...

Description Usage Arguments Author(s) References See Also Examples

View source: R/plotFeature.aldex.r

Description

aldex.plotFeature generates density plots showing the dispersion of the expected values given in the output from aldex.effect. The expected values are shown in the plots. This is a diagnostic visualization to help determine if the expected values are trustworthy

Usage

1
2
3
4
5
6
aldex.plotFeature(
  clrData,
  featureName,
  pooledOnly = FALSE,
  densityOnly = FALSE
)

Arguments

clrData

the output object from aldex.clr

featureName

the name of the feature from the input data

pooledOnly

show only the pooled plots, default FALSE, shows all plots

densityOnly

show only the density plots, default FALSE includes expected values

Author(s)

Brandon Lieng, Greg Gloor

References

Please use the citation given by citation(package="ALDEx2").

See Also

aldex.clr, aldex.effect, selex

Examples

1
2
3
4
5
6
data(selex)
#subset for efficiency
selex <- selex[1201:1600,]
conds <- c(rep("NS", 7), rep("S", 7))
x <- aldex.clr(selex, conds, mc.samples=4, denom="all")
aldex.plotFeature(x, "S:D:A:D")

ALDEx2 documentation built on Nov. 8, 2020, 8:05 p.m.