svars {autonomics} | R Documentation |
Get/Set sample variables
svars(object) ## S4 method for signature 'SummarizedExperiment' svars(object) ## S4 method for signature 'MultiAssayExperiment' svars(object) svars(object) <- value ## S4 replacement method for signature 'SummarizedExperiment,character' svars(object) <- value ## S4 replacement method for signature 'MultiAssayExperiment,character' svars(object) <- value
object |
SummarizedExperiment |
value |
string fector with variable names |
sample variable names (get) or updated SummarizedExperiment
require(magrittr) file <- download_data('billing16.proteingroups.txt') object <- read_proteingroups(file, plot=FALSE) svars(object)[1] (svars(object)[1] %<>% paste0('1'))