Replaces the replicate labels of a ScreenR object.
Usage
set_replicates(object, replicates)
# S4 method for class 'screenr_object'
set_replicates(object, replicates)Arguments
- object
The ScreenR object obtained using
create_screenr_object.- replicates
A vector with the replicate labels.
Examples
object <- get0("object", envir = asNamespace("ScreenR"))
replicates <- get_replicates(object)
set_replicates(object, replicates)
#> class: screenr_object
#> dim: 5320 14
#> metadata(2): screenr_layout normalization
#> assays(1): counts
#> rownames(5320): 10208 10502 ... 13876 13995
#> rowData names(5): Barcode Gene Gene_ID Sequence Library
#> colnames(14): T1 T2 ... Time4_B Time4_c
#> colData names(5): Sample Day Treatment Group EffectiveLibSize
#> normalization: cpm (effective library sizes in colData(object)$EffectiveLibSize)
