Description Usage Arguments Value Examples
Retrieve and replace sample information of a CapSet object
1 2 3 4 5 6 7 8 9 | sampleInfo(object, ...)
sampleInfo(object, ...) <- value
## S4 method for signature 'CapSet'
sampleInfo(object)
## S4 replacement method for signature 'CapSet'
sampleInfo(object) <- value
|
object |
The |
... |
Additional options |
value |
Replacement DataFrame object |
sample information data.frame
1 2 3 4 5 6 7 8 | # load a previously saved CapSet object
cs <- exampleCSobject()
# get sampleinfo
si <- sampleInfo(cs)
# modify
si$samples <- paste0("sample_", seq_along(1:nrow(si)) )
# replace
sampleInfo(cs) <- si
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.