samples-methods: samples-methods

Description Usage Arguments Details Value Examples

Description

Extracts sample identifiers

Usage

1
2
3
4
5
## S4 method for signature 'RnBSet'
samples(object)

## S4 method for signature 'RnBeadClustering'
samples(object)

Arguments

object

Dataset of interest.

Details

The column of the sample annotation table which contains identifiers is globally controlled via the "identifiers.column" option. In case the latter is NULL column names of the matrix returned by the meth method are treated as sample identifiers. In case the latter are also missing, a character vector with sample numbers is returned.

Value

character vector of sample identifiers.

Examples

1
2
3
library(RnBeads.hg19)
data(small.example.object)
samples(rnb.set.example)

RnBeads documentation built on March 3, 2021, 2 a.m.