Learn R Programming

RnBeads (version 1.4.0)

samples,RnBSet-method: samples-methods

Description

Extracts sample identifiers

Usage

"samples"(object)
"samples"(object)

Arguments

object
Dataset of interest.

Value

character vector of sample identifiers.

Details

The column of the sample annotation table which contain 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.

Examples

Run this code

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

Run the code above in your browser using DataLab