R/AllGenerics.R, R/methods.R
sampleInfo.RdRetrieve 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
| object | The |
|---|---|
| ... | Additional options |
| value | Replacement DataFrame object |
sample information data.frame
#>#>#>#># get sampleinfo si <- sampleInfo(cs) # modify si$samples <- paste0("sample_", seq_along(1:nrow(si)) ) # replace sampleInfo(cs) <- si