Function which extracts the sample data from the SummarizedExperiment contained within the TimeSerie_Object. The sample data is extracted and returned in a data frame format

exp_sample_data(time_object)

Arguments

time_object

A timeseries object

Value

The data.frame format of sample data

Examples


TS_object <- new('TimeSeries_Object',
                 group_names=c('IgM','LPS'),group_colors=c("#e31a1c","#1f78b4"),DE_method='DESeq2',
                 DE_p_filter='padj',DE_p_thresh=0.05,DE_l2fc_thresh=1,
                 PART_l2fc_thresh=4,sem_sim_org='org.Hs.eg.db',Gpro_org='hsapiens')
TS_object <- TS_load_example_data(TS_object)
exp_sample_data(TS_object)
#>      sample group replicate timepoint
#> s-42   s-42   LPS     LPS_1         1
#> s-43   s-43   LPS     LPS_1         3
#> s-44   s-44   LPS     LPS_1         9
#> s-52   s-52   IgM     IgM_1         1
#> s-53   s-53   IgM     IgM_1         3
#> s-54   s-54   IgM     IgM_1         9
#> s-82   s-82   LPS     LPS_2         1
#> s-83   s-83   LPS     LPS_2         3
#> s-84   s-84   LPS     LPS_2         9
#> s-92   s-92   IgM     IgM_2         1
#> s-93   s-93   IgM     IgM_2         3
#> s-94   s-94   IgM     IgM_2         9