Checks that the object is normalized and returns it. The data
table, the tidy (long) version of the normalized counts used by
compute_metrics, plot_boxplot,
plot_trend, filter_by_slope and other
functions, is no longer stored in the object: it is computed from the
object when needed (see get_data_table), so it always
follows the counts, the annotation, the sample table and the
normalization. This function is kept so that existing code works; it
is not needed any more.
Arguments
- screenR_Object
The ScreenR object obtained using
create_screenr_object, normalized withnormalize_data.
Examples
object <- get0("object", envir = asNamespace("ScreenR"))
object <- normalize_data(object)
object <- compute_data_table(object)
head(get_data_table(object))
#> ScreenR normalized data table: 74480 rows, 9 columns
#> # A tibble: 6 × 9
#> Barcode Gene Sample Frequency Sequence Library Gene_ID Day Treatment
#> <fct> <chr> <fct> <dbl> <lgl> <lgl> <lgl> <chr> <chr>
#> 1 10208 Gene_380 T1 330. NA NA NA T1 T1
#> 2 10208 Gene_380 T2 437. NA NA NA T2 T2
#> 3 10208 Gene_380 Time3_TRT… 365. NA NA NA Time3 TRT
#> 4 10208 Gene_380 Time3_TRT… 439. NA NA NA Time3 TRT
#> 5 10208 Gene_380 Time3_TRT… 311. NA NA NA Time3 TRT
#> 6 10208 Gene_380 Time3_A 358. NA NA NA Time3 Time3
