The function plots the gene's trajectory across all timepoints for all the groups contained in the dataframe. It performs a facet split based on the 'label' column of the dataframe

plot_single_gene_traj(mean_data, color_vector = NULL)

Arguments

mean_data

dataframe containing mean reads per timepoint

color_vector

a vector with color IDs where the names match the groups names (by default it is Activated and Control)

Value

the ggplot2 object for the plot

Examples

TS_object<-create_example_object_for_R()
TS_object <- normalize_timeSeries_with_deseq2(time_object=TS_object)
#> converting counts to integer mode
#Perform conditional differential gene expression analysis
TS_object<-conditional_DE_wrapper(TS_object,vignette_run=TRUE)
aicda_traj_dta<-calculate_gene_traj_data(TS_object,'AICDA')
group_cols<-slot(TS_object,'group_colors')
aicda_plot<-plot_single_gene_traj(aicda_traj_dta,group_cols)