visualizeFeatureSpline: Visualize the feature trajectory with the fitted Splines

Description Usage Arguments References

Description

Plot the longitudinal features along with the fitted splines

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
visualizeFeatureSpline(
  df,
  model,
  method,
  text,
  group.levels,
  unit = "days",
  ylabel = "Normalized Count",
  col = c("blue", "firebrick"),
  prefix = "Test"
)

Arguments

df

dataframe has the Count , Group, ID, Time

model

the fitted model

method

The fitting method (negative binomial, LOWESS)

text

feature name

group.levels

The two level's name

unit

time unit used in the Time vector (hours, days, weeks, months, etc.)

ylabel

text to be shown on the y-axis of all generated figures (default: "Normalized Count")

col

two color to be used for the two groups (eg., c("red", "blue")).

prefix

prefix to be used to create directory for the analysis results

References

Ahmed Metwally (ametwall@stanford.edu)


MetaLonDA documentation built on Dec. 18, 2019, 9:38 a.m.