Spline.plots: Return the plots of the spline exploited to fit and cluster...

View source: R/SplinePlots.R

Spline.plotsR Documentation

Return the plots of the spline exploited to fit and cluster the samples.

Description

Returns the Cubic Spline plots from the ClusterWithMeanCurve output list (see ClusterWithMeanCurve). Each plot shows (i) in blue the sample curve, (ii) in red the cubic spline estimated from the FCM, (iii) in black the correspondive cluster mean curve, and finally (iv) the grey area represents the confidence interval.

Usage

Spline.plots(
  FCM.plots,
  All = TRUE,
  SampleNumber = NULL,
  save = FALSE,
  path = NULL
)

Arguments

FCM.plots

CONNECTORList obtained from the ClusterWithMeanCurve function. (see ClusterWithMeanCurve)

All

If TRUE then all the plots, for each sample curve, are saved.

SampleNumber

The number/vector of the sample ID(s) referring to the curve(s) that will be saved.

save

If TRUE then the spline plots are saved (a pdf file will be generated for each curve).

path

The folder path where the plot(s) will be saved. If it is missing, the plot is saved in the current working directory.

Author(s)

Cordero Francesca, Pernice Simone, Sirovich Roberta


sysbioTurin/connector documentation built on April 9, 2024, 12:10 p.m.