Retrieve and replace sample information of a CapSet object

sampleInfo(object, ...)

sampleInfo(object, ...) <- value

# S4 method for CapSet
sampleInfo(object)

# S4 method for CapSet
sampleInfo(object) <- value

Arguments

object

The CapSet object

...

Additional options

value

Replacement DataFrame object

Value

sample information data.frame

Examples

# load a previously saved CapSet object cs <- exampleCSobject()
#> Checking de-multiplexed R1 reads
#> Checking de-multiplexed R2 reads
#> Checking mapped file
#> Checking de-duplicated file
# get sampleinfo si <- sampleInfo(cs) # modify si$samples <- paste0("sample_", seq_along(1:nrow(si)) ) # replace sampleInfo(cs) <- si