svars {autonomics}R Documentation

Get/Set svars

Description

Get/Set sample variables

Usage

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

Arguments

object

SummarizedExperiment

value

string fector with variable names

Value

sample variable names (get) or updated SummarizedExperiment

Examples

require(magrittr)
file <- download_data('billing16.proteingroups.txt')
object <- read_proteingroups(file, plot=FALSE)
svars(object)[1]
(svars(object)[1] %<>% paste0('1'))

[Package autonomics version 1.2.0 Index]