sampleMetadata: Access sample metadata

sDataR Documentation

Access sample metadata

Description

It is recommended to use the SummarizedExperiment colData instead. This is a convenience method for backwards compatibility.

It is recommended to use the SummarizedExperiment colData instead. This is a convenience method for backwards compatibility.

It is recommended to use the SummarizedExperiment colData instead. This is a convenience method for backwards compatibility.

It is recommended to use the SummarizedExperiment colData instead. This is a convenience method for backwards compatibility.

It is recommended to use the SummarizedExperiment colData instead. This is a convenience method for backwards compatibility.

It is recommended to use the SummarizedExperiment colData instead. This is a convenience method for backwards compatibility.

It is recommended to use the SummarizedExperiment colData instead. This is a convenience method for backwards compatibility.

It is recommended to use the SummarizedExperiment colData instead. This is a convenience method for backwards compatibility.

It is recommended to use the SummarizedExperiment colData instead. This is a convenience method for backwards compatibility.

It is recommended to use the SummarizedExperiment colData instead. This is a convenience method for backwards compatibility.

It is recommended to use the SummarizedExperiment colData instead. This is a convenience method for backwards compatibility.

It is recommended to use the SummarizedExperiment colData instead. This is a convenience method for backwards compatibility.

It is recommended to use the SummarizedExperiment colData instead. This is a convenience method for backwards compatibility.

It is recommended to use the SummarizedExperiment colData instead. This is a convenience method for backwards compatibility.

Usage

sData(object)

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

svarLabels(object)

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

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

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

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

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

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

## S4 method for signature 'DataFrame'
pData(object)

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

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

## S4 method for signature 'DataFrame'
varLabels(object)

## S4 replacement method for signature 'NanoStringExperiment'
varLabels(object) <- value

Arguments

object

NanoStringExperiment object

value

replacement variable labels

Value

matrix of sample (column) metadata

matrix of sample (column) metadata

list of sample (column) metadata variables

list of sample (column) metadata variables

matrix of sample phenotypic metadata

NanoStringExperiment object

matrix of sample protocol metadata

NanoStringExperiment object

matrix of sample phenotypic metadata

DataFrame of sample phenotypic metadata

NanoStringExperiment object

list of sample phenotypic metadata variables

list of metadata variables

NanoStringExperiment object

Examples

data(exampleNSEData)
sData(testExp)

data(exampleNSEData)
sData(testExp)

data(exampleNSEData)
svarLabels(testExp)

data(exampleNSEData)
svarLabels(testExp)

data(exampleNSEData)
phenoData(testExp)

data(exampleNSEData)
phenoData(testExp) <- phenoData(testExp)[, 1:2]

data(exampleNSEData)
protocolData(testExp)

data(exampleNSEData)
protocolData(testExp) <- protocolData(testExp)[, 1:2]

data(exampleNSEData)
pData(testExp)

data(exampleNSEData)
pData(testExp)

data(exampleNSEData)
pData(testExp) <- pData(testExp)[, 1:2]

data(exampleNSEData)
varLabels(testExp)

data(exampleNSEData)
varLabels(phenoData(testExp))

data(exampleNSEData)
varLabels(testExp) <- paste0(varLabels(testExp), "a")


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