read.sample.annotation {RnBeads} | R Documentation

## read.sample.annotation

### Description

Reads Illumina Infinium sample annotation.

### Usage

    read.sample.annotation(fname, sep = rnb.getOption("import.table.separator"))

### Arguments

`fname` | Name of text file that contains a sample annotation table with a header. This method handles a variety of file formats, including comma-separated values file exported from Genome Studio.
`sep` | One-element `character` used as field separator in the tables file.

### Value

Sample annotation table in the form of a `data.frame`, in which every row corresponds to a sample, and every column - to a trait.

### Author(s)

Pavlo Lutsik

### Examples

      annotation.file<-system.file("")
      sa<-read.sample.annotation(annotation.file)
      sa

[Package RnBeads version 2.0.1 Index]