read.sample.annotation: read.sample.annotation

Description Usage Arguments Value Author(s) Examples

View source: R/dataImport.R

Description

Reads Illumina Infinium sample annotation.

Usage

1
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

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

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