samples,RnBSet-method {RnBeads} | R Documentation

## samples-methods

### Description

Extracts sample identifiers

### Usage

    ## 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

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

[Package RnBeads version 2.2.0 Index]