Plot the longitudinal features along with the fitted splines
visualizeFeatureSpline(
df,
model,
method,
text,
group.levels,
unit = "days",
ylabel = "Normalized Count",
col = c("blue", "firebrick"),
prefix = "Test"
)
dataframe has the Count , Group, ID, Time
the fitted model
The fitting method (negative binomial, LOWESS)
feature name
The two level's name
time unit used in the Time vector (hours, days, weeks, months, etc.)
text to be shown on the y-axis of all generated figures (default: "Normalized Count")
two color to be used for the two groups (eg., c("red", "blue")).
prefix to be used to create directory for the analysis results
Ahmed Metwally (ametwall@stanford.edu)