plotTimeSeries: Plot difference function for particular bacteria

View source: R/fitTimeSeries.R

plotTimeSeriesR Documentation

Plot difference function for particular bacteria

Description

Plot the difference in abundance for significant features.

Usage

plotTimeSeries(
  res,
  C = 0,
  xlab = "Time",
  ylab = "Difference in abundance",
  main = "SS difference function prediction",
  ...
)

Arguments

res

Output of fitTimeSeries function

C

Value for which difference function has to be larger or smaller than (default 0).

xlab

X-label.

ylab

Y-label.

main

Main label.

...

Extra plotting arguments.

Value

Plot of difference in abundance for significant features.

See Also

fitTimeSeries

Examples


data(mouseData)
res = fitTimeSeries(obj=mouseData,feature="Actinobacteria",
   class="status",id="mouseID",time="relativeTime",lvl='class',B=10)
plotTimeSeries(res)


HCBravoLab/metagenomeSeq documentation built on Dec. 20, 2024, 4:06 p.m.