This function takes a data frame with time series data
(rows as features and columns as samples)
and a meta table with sample information including time points, computes
the correlation of each
feature with time, and plots the distribution of these correlations.
Usage
plot_mean_correlation_with_time(data, meta, condition)
Arguments
- data
A data frame where rows are features and columns are samples.
- meta
A data frame with sample metadata. Must contain a column "Time".
- condition
The column of the meta dataframe containign the levels that
separate the experiment.
Value
A ggplot2 object showing the distribution of mean correlations
with time.
@importFrom rlang .data