Summarizes how each group, for instance a subject, was sampled over time.
getSamplingSummary(x, ...)
# S4 method for class 'SummarizedExperiment'
getSamplingSummary(x, time.col, group = NULL, ...)A
SummarizedExperiment
object.
additional arguments. Currently not used.
Character scalar. Specifies a name of the column from
colData that identifies the sampling time points for the samples.
NULL or Character scalar. Specifies a column
from colData(x) that defines the groups. If NULL, all
samples are summarized together. (Default: NULL)
DataFrame with one row per group.
Temporal metrics, such as stepwise divergence or stability, depend on how
many time points each group has and how far apart they are. This function
reports, for each group, the number of samples and distinct time points,
the first and last time point, the time span, and the minimum, median and
maximum gap between consecutive time points. Gaps are NA for groups
with a single time point.