design: Access design formula

designR Documentation

Access design formula

Description

Access formula to be used for design in analyses

Access formula to be used for design in analyses

Replace or assign formula to be used for design in analyses

Replace or assign formula to be used for design in analyses

Replace or assign formula to be used for design in analyses

Usage

design(object)

## S4 method for signature 'NanoStringExperiment'
design(object)

## S4 replacement method for signature 'NanoStringExperiment,formula'
design(object) <- value

## S4 replacement method for signature 'NanoStringExperiment,ANY'
design(object) <- value

## S4 replacement method for signature 'NanoStringExperiment,'NULL''
design(object) <- value

Arguments

object

NanoStringExperiment object

value

formula for design matrix or NULL

Value

formula used for design (model) matrix

formula used for design (model) matrix

NanoStringExperiment object

NanoStringExperiment object

NanoStringExperiment object

Examples

data(exampleNSEData)
design(testExp)

data(exampleNSEData)
design(testExp)

data(exampleNSEData)
design(testExp) <- stats::as.formula(~ `cell_line`)

data(exampleNSEData)
design(testExp) <- ~ `cell_line`

data(exampleNSEData)
design(testExp) <- NULL


Nanostring-Biostats/NanoStringExperiment documentation built on April 28, 2022, 6:24 a.m.